/* AAA In The Browser, a Scenario exploration. Dark only: amber on deep blue, the game's own world. */
@font-face {
  font-family: 'Archivo';
  src:
    url('fonts/archivo-vf.woff2') format('woff2-variations'),
    url('fonts/archivo-vf.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/JetBrainsMono-normal-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #070a10;
  --bg-2: #0b111a;
  --panel: #0f1622;
  --panel-2: #141d2b;
  --ink: #e9ece8;
  --ink-2: #b9c0c4;
  --ink-3: #8d969e;
  --amber: #f2a73b;
  --amber-ink: #1a1206;
  --line: rgba(233, 236, 232, 0.13);
  --line-2: rgba(233, 236, 232, 0.26);
  --bar-h: 56px;
  --strip-h: 44px;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --r: 4px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --exploration-footer-bg: #070a10;
  --exploration-footer-ink: #b9c0c4;
  --exploration-footer-border: rgba(233, 236, 232, 0.13);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + var(--strip-h) + 20px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17.5px/1.58 var(--body);
  font-stretch: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
h1,
h2,
h3,
h4,
p,
dl,
dd,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
::selection {
  background: var(--amber);
  color: var(--amber-ink);
}
[hidden] {
  display: none !important;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 90;
  background: var(--amber);
  color: var(--amber-ink);
  padding: 10px 14px;
  border-radius: var(--r);
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}

/* type */
.mono {
  font: 500 12px/1.3 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.disp {
  font-family: var(--display);
  font-stretch: 68%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.012em;
  line-height: 0.96;
  text-wrap: balance;
}
h2.disp {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
}
h3.disp {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
}
.lede {
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.5;
  max-width: 60ch;
  text-wrap: pretty;
}
.model {
  color: var(--amber);
  font-weight: 600;
  white-space: nowrap;
}
.wrap {
  width: min(100% - 2 * var(--gut), var(--max));
  margin-inline: auto;
}
svg.i {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
svg.i.solid {
  fill: currentColor;
  stroke: none;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--r);
  font: 700 0.98rem/1 var(--display);
  font-stretch: 82%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.18s var(--ease),
    border-color 0.18s var(--ease),
    color 0.18s var(--ease),
    transform 0.12s var(--ease);
}
.btn:active {
  transform: scale(0.97);
}
.btn-solid {
  background: var(--amber);
  color: var(--amber-ink);
}
.btn-solid:hover {
  background: #ffbd5c;
}
.btn-line {
  border: 1px solid var(--line-2);
  color: var(--ink);
  background: rgba(7, 10, 16, 0.4);
}
.btn-line:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.btn-big {
  min-height: 64px;
  padding: 0 34px;
  font-size: 1.32rem;
  letter-spacing: 0.1em;
}

/* top bar */
.bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--gut);
  background: linear-gradient(rgba(7, 10, 16, 0.86), rgba(7, 10, 16, 0));
}
.bar.is-solid {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.bar-id {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.bar-home {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-2);
  flex: none;
}
.bar-home img {
  width: 98px;
  height: 24px;
}
.bar-home:hover .bar-sec {
  color: var(--ink);
}
.bar-slash {
  color: var(--ink-3);
}
.bar-sec {
  font-size: 0.92rem;
  transition: color 0.18s;
}
.bar-title {
  font: 800 1.02rem/1 var(--display);
  font-stretch: 70%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  padding-left: 18px;
  border-left: 1px solid var(--line-2);
}
.bar-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.bar-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--r);
  font-size: 0.9rem;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.18s,
    background-color 0.18s;
}
.bar-action svg.i {
  width: 18px;
  height: 18px;
}
.bar-action:hover {
  color: var(--ink);
  background: rgba(233, 236, 232, 0.08);
}
.bar-make {
  background: var(--amber);
  color: var(--amber-ink);
  font-weight: 700;
  margin-left: 8px;
  padding: 0 16px;
}
.bar-make:hover {
  background: #ffbd5c;
  color: var(--amber-ink);
}

/* hero */
.hero {
  position: relative;
  min-height: min(100svh, 1100px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg,
.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  z-index: -2;
}
.hero-bg {
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.hero-bg.is-live {
  opacity: 1;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(7, 10, 16, 0.88) 0%,
      rgba(7, 10, 16, 0.5) 36%,
      rgba(7, 10, 16, 0) 62%
    ),
    linear-gradient(
      0deg,
      var(--bg) 0%,
      rgba(7, 10, 16, 0.55) 22%,
      rgba(7, 10, 16, 0) 50%
    );
}
.hero-in {
  width: min(100% - 2 * var(--gut), var(--max));
  margin-inline: auto;
  padding: calc(var(--bar-h) + 40px) 0 clamp(56px, 9vh, 104px);
  position: relative;
}
.hero-copy {
  max-width: 720px;
}
.hero-kicker {
  color: var(--amber);
  margin-bottom: 18px;
}
.hero h1 {
  margin: 0 0 22px -22px;
}
.hero-mark {
  width: clamp(250px, 31vw, 470px);
  height: auto;
  filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.55));
}
.hero-line {
  font-size: clamp(1.14rem, 1.6vw, 1.42rem);
  line-height: 1.42;
  max-width: 34em;
  color: var(--ink);
  text-wrap: pretty;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  color: var(--ink-2);
}
.hero-meta b {
  color: var(--ink);
  font-weight: 500;
}
.hero-foot {
  position: absolute;
  right: var(--gut);
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - 2 * var(--gut));
  pointer-events: none;
}
.hero-foot > button {
  pointer-events: auto;
}
.hero-credit {
  margin: 0;
  color: var(--ink-3);
  text-align: right;
}
.hero-credit .model {
  color: var(--ink-2);
}
.hero-motion {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink-2);
  border-radius: var(--r);
  background: rgba(7, 10, 16, 0.5);
}
.hero-motion:hover {
  color: var(--ink);
}
.is-playing > .i-play,
:not(.is-playing) > .i-pause,
.is-on > .i-off,
:not(.is-on) > .i-on {
  display: none;
}

/* intro: what this is + downloads */
.intro {
  padding: clamp(40px, 6vw, 84px) 0 clamp(36px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.intro-text p {
  font-size: clamp(1.14rem, 1.6vw, 1.4rem);
  line-height: 1.46;
  color: var(--ink);
  text-wrap: pretty;
}
.intro-text p + p {
  margin-top: 0.9em;
  color: var(--ink-2);
  font-size: 1.04rem;
  line-height: 1.55;
}
.dl-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.dl {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto 1fr;
  column-gap: 14px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  text-decoration: none;
  background: var(--bg);
  transition:
    border-color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}
.dl:hover {
  border-color: var(--amber);
  background: var(--bg-2);
}
.dl-ic {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  color: var(--amber);
}
.dl-kind {
  color: var(--ink-3);
}
.dl-name {
  font: 700 1.16rem/1.15 var(--display);
  font-stretch: 84%;
  margin-top: 4px;
}
.dl-what {
  grid-column: 1 / -1;
  margin-top: 12px;
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.dl-what code {
  display: block;
  margin-top: 8px;
  font: 500 0.74rem/1.3 var(--mono);
  letter-spacing: 0.02em;
  color: var(--ink-3);
  overflow-wrap: anywhere;
}
.dl-go {
  grid-column: 1 / -1;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-weight: 600;
  font-size: 0.94rem;
}
.dl.is-soon {
  border-style: dashed;
}
/* one-line cards: the top of the film sheet */
.dl-row.is-compact .dl {
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  padding: 12px 16px 12px 12px;
}
.dl-row.is-compact .dl-what {
  display: none;
}
.dl-row.is-compact .dl-name {
  font-size: 1.02rem;
  margin-top: 2px;
}
.dl-row.is-compact .dl-go {
  grid-column: 3;
  grid-row: 1 / 3;
  margin-top: 0;
  text-align: right;
}

/* compass strip */
.strip {
  position: sticky;
  top: var(--bar-h);
  z-index: 40;
  height: var(--strip-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.strip-in {
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: clamp(4px, 2vw, 30px);
  overflow-x: auto;
  scrollbar-width: none;
}
.strip-in::-webkit-scrollbar {
  display: none;
}
.strip a {
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  color: var(--ink-3);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: color 0.18s;
}
.strip a:hover {
  color: var(--ink);
}
.strip a[aria-current='true'] {
  color: var(--amber);
}
.strip a[aria-current='true']::after {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: -1px;
  height: 2px;
  background: var(--amber);
}

/* sections */
.sec {
  padding: clamp(64px, 9vw, 136px) 0 clamp(56px, 8vw, 120px);
}
.sec + .sec {
  border-top: 1px solid var(--line);
}
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 56px);
}
.sec-head .lede {
  padding-bottom: 6px;
}

/* clips */
.clip-frame {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.clip-frame video,
.clip-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clip-ctl {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  gap: 6px;
}
.ic {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r);
  background: rgba(7, 10, 16, 0.72);
  color: var(--ink);
  transition:
    background-color 0.18s,
    color 0.18s,
    transform 0.12s var(--ease);
}
.ic:hover {
  background: var(--amber);
  color: var(--amber-ink);
}
.ic:active {
  transform: scale(0.95);
}
.cap {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-3);
}
.cap b,
.cap .model {
  color: var(--ink-2);
  font-weight: 600;
}

/* zoomable pictures */
.zoom {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--panel);
  cursor: zoom-in;
}
.zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.zoom:hover img {
  transform: scale(1.025);
}
.zoom::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  border-radius: var(--r);
  background: rgba(7, 10, 16, 0.7)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9ece8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 5h5v5M19 5l-6 6M10 19H5v-5M5 19l6-6'/%3E%3C/svg%3E")
    center / 18px no-repeat;
  opacity: 0;
  transition: opacity 0.18s;
}
.zoom:hover::after,
.zoom:focus-visible::after {
  opacity: 1;
}

/* play */
.stage {
  position: relative;
}
.stage-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  width: min(100%, (100svh - var(--bar-h) - var(--strip-h) - 150px) * 16 / 9);
  min-width: min(100%, 640px);
  margin-inline: auto;
  background: #000;
  overflow: hidden;
  border: 1px solid var(--line);
}
.stage-screen:fullscreen {
  width: 100%;
  border: 0;
  aspect-ratio: auto;
}
.stage-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage-brief {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  padding: clamp(20px, 4vw, 56px);
  background: linear-gradient(
    0deg,
    rgba(7, 10, 16, 0.98) 0%,
    rgba(7, 10, 16, 0.93) 36%,
    rgba(7, 10, 16, 0.5) 58%,
    rgba(7, 10, 16, 0) 82%
  );
}
.stage-go {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 40px;
  align-items: end;
}
.stage-go > div:last-child {
  text-align: right;
}
.stage-go h3 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  margin-bottom: 14px;
}
.stage-go p {
  color: var(--ink-2);
  max-width: 34em;
  font-size: 1rem;
  line-height: 1.5;
}
.stage-size {
  margin-top: 12px;
  color: var(--ink-2);
  display: block;
}
.keys {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0 22px;
  margin-top: 6px;
}
.keys div {
  display: grid;
  gap: 3px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.keys dt {
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
}
.keys dd {
  color: var(--ink-2);
  font-size: 0.92rem;
}
.stage-load {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  background: rgba(7, 10, 16, 0.9);
  color: var(--ink-2);
  z-index: 2;
}
.stage-lost {
  z-index: 3;
  color: var(--ink);
}
.stage-lost p {
  margin: 0;
  max-width: 34ch;
  text-align: center;
}
.ring {
  --p: 0;
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
}
.ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ring circle {
  fill: none;
  stroke-width: 2;
}
.ring-track {
  stroke: var(--line-2);
}
.ring-arc {
  stroke: var(--amber);
  stroke-linecap: butt;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--p));
}
.ring b {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
/* nothing to count yet: a quarter arc turns until the game reports its first figure */
.ring.is-wait .ring-arc {
  stroke-dashoffset: 76;
}
.ring.is-wait svg {
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  from {
    transform: rotate(-90deg);
  }
  to {
    transform: rotate(270deg);
  }
}
/* A dot circles the ring while a figure is shown. It is a transform on its own layer, so the
   compositor keeps it moving while the game compiles on the main thread and the figure waits. */
.ring:not(.is-wait)::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: radial-gradient(
    circle 2px at 50% 2px,
    var(--amber) 96%,
    transparent 100%
  );
  animation: orbit 1.5s linear infinite;
  will-change: transform;
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
.stage-screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
  background: #000;
}
.stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  padding: 12px 0 0;
  color: var(--ink-3);
  font-size: 0.92rem;
  min-height: 60px;
}
.stage-bar-btns {
  display: flex;
  gap: 8px;
}
.stage-bar .btn {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.86rem;
}
.stage-note {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  color: var(--ink);
  font-size: 0.98rem;
}
.play-touch {
  display: none;
}
.is-touch .stage,
.no-webgl2 .stage {
  display: none;
}
.is-touch .play-touch,
.no-webgl2 .play-touch {
  display: block;
}

/* sites */
.site-index {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: clamp(48px, 7vw, 104px);
}
.site-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  text-decoration: none;
  background: var(--panel);
  isolation: isolate;
}
.site-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s var(--ease);
}
.site-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    0deg,
    rgba(7, 10, 16, 0.92) 0%,
    rgba(7, 10, 16, 0.1) 55%
  );
}
.site-card:hover img {
  transform: scale(1.04);
}
.site-card-t {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
}
.site-card-n {
  color: var(--amber);
  display: block;
  margin-bottom: 6px;
}
.site-card-name {
  font: 800 clamp(1.2rem, 1.9vw, 1.7rem) / 1 var(--display);
  font-stretch: 68%;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.site {
  padding: clamp(40px, 6vw, 88px) 0;
}
.site + .site {
  border-top: 1px solid var(--line);
}
.site:last-child {
  padding-bottom: 0;
}
.site-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: 26px;
}
.site-n {
  color: var(--amber);
  margin-bottom: 12px;
  display: block;
}
.site-distinct {
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
  line-height: 1.42;
  color: var(--ink);
  text-wrap: pretty;
}
.site-place {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 0.98rem;
}
.site-body {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(24px, 5vw, 80px);
  margin-top: clamp(28px, 4vw, 56px);
  align-items: start;
}
.facts div {
  display: grid;
  grid-template-columns: 9.5em 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.4;
}
.facts div:last-child {
  border-bottom: 1px solid var(--line);
}
.facts dt {
  color: var(--ink-3);
}
.facts dd {
  color: var(--ink);
}
.facts dd.model {
  white-space: normal;
}
.site-body .btn {
  margin-top: 22px;
}

/* compare slider */
.cmp {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--panel);
  user-select: none;
  touch-action: pan-y;
  --p: 50%;
}
.cmp img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.cmp-b {
  clip-path: inset(0 0 0 var(--p));
}
.cmp-tag {
  position: absolute;
  top: 12px;
  padding: 6px 9px;
  background: rgba(7, 10, 16, 0.78);
  border-radius: var(--r);
  color: var(--ink);
  pointer-events: none;
}
.cmp-tag.a {
  left: 12px;
}
.cmp-tag.b {
  right: 12px;
}
.cmp-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--p);
  width: 2px;
  margin-left: -1px;
  background: var(--amber);
  pointer-events: none;
}
.cmp-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--amber-ink);
  display: grid;
  place-items: center;
}
.cmp input[type='range'] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.cmp:has(input:focus-visible) {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
.cmp-open {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
}
.pair-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.tab {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  color: var(--ink-2);
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    color 0.18s,
    border-color 0.18s,
    background-color 0.18s;
}
.tab:hover {
  color: var(--ink);
  border-color: var(--ink-2);
}
.tab[aria-selected='true'],
.tab[aria-pressed='true'] {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--amber-ink);
}

/* method */
.loop4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  margin-bottom: clamp(36px, 5vw, 72px);
}
.loop4 li {
  padding: 20px 22px 22px;
  position: relative;
}
.loop4 li + li {
  border-left: 1px solid var(--line);
}
.loop4 b {
  display: block;
  font: 800 1.5rem/1 var(--display);
  font-stretch: 68%;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.loop4 span {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.45;
  display: block;
}
.loop4 li + li::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--amber);
  border-right: 2px solid var(--amber);
  transform: rotate(45deg);
  background: var(--bg);
}
.mrow {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(32px, 4.4vw, 64px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.mrow-text {
  position: sticky;
  top: calc(var(--bar-h) + var(--strip-h) + 24px);
}
.mrow h3 {
  font: 800 clamp(1.7rem, 2.6vw, 2.4rem) / 1 var(--display);
  font-stretch: 68%;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  text-wrap: balance;
}
.mrow-models {
  margin: 12px 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}
.mrow-line {
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.5;
  text-wrap: pretty;
}
.mrow-check {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.5;
}
.mrow-check .mono {
  display: block;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.pics {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
  gap: 10px;
}
.pics .span2 {
  grid-column: 1 / -1;
}
.ptag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 8px;
  background: rgba(7, 10, 16, 0.78);
  border-radius: var(--r);
  color: var(--ink);
  font-size: 11px;
}
.parts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.parts li {
  padding: 5px 8px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  font: 500 11.5px/1.2 var(--mono);
  color: var(--ink-2);
}
.rig {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 0 22px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  align-items: start;
}
.rig-solo {
  grid-template-columns: minmax(0, 1fr);
}
.rig .cap {
  grid-column: 1 / -1;
  margin-top: 14px;
}
.rig-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.rig-head span {
  color: var(--ink-3);
}
.rig-tree {
  min-width: 0;
  margin: 12px 0 0;
  font: 500 12px/1.75 var(--mono);
  color: var(--ink-2);
}
.rig-solo .rig-tree > ul > li > ul {
  columns: 150px 3;
  column-gap: 28px;
  border-left: 0;
}
@media (max-width: 760px) {
  .rig {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .rig-tree {
    overflow-x: auto;
  }
}
.rig-tree ul ul {
  margin-left: 5px;
  padding-left: 13px;
  border-left: 1px solid var(--line-2);
}
.rig-tree li {
  break-inside: avoid;
}
.rig-tree > ul > li > span {
  color: var(--ink);
}
.rig-clips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 6px;
}
.rig-view .clip + .rig-clips {
  margin-top: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rig-solo .rig-view {
  order: 2;
}
.rig-clips li {
  padding: 7px 9px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  font: 500 11.5px/1.35 var(--mono);
}
.rig-clips b {
  display: block;
  color: var(--amber);
  font-weight: 500;
}
.rig-clips span {
  color: var(--ink-3);
}
.sounds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.snd {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 14px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  text-align: left;
  transition:
    border-color 0.18s,
    background-color 0.18s;
}
.snd:hover {
  border-color: var(--amber);
}
.snd .ic {
  grid-row: 1 / 3;
  background: var(--panel-2);
}
.snd.is-playing .ic {
  background: var(--amber);
  color: var(--amber-ink);
}
.snd b {
  font-weight: 600;
}
.snd span {
  font-size: 0.86rem;
  color: var(--ink-3);
}
.ledger {
  margin-top: clamp(36px, 5vw, 72px);
  border-top: 1px solid var(--line-2);
  padding-top: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(24px, 5vw, 80px);
}
.ledger h3 {
  font: 800 clamp(1.7rem, 2.6vw, 2.4rem) / 1 var(--display);
  font-stretch: 68%;
  text-transform: uppercase;
}
.ledger p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 0.98rem;
}
.ledger-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.ledger-cols h4 {
  color: var(--ink-3);
  margin-bottom: 10px;
  font-weight: 500;
}
.ledger-cols li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
  line-height: 1.35;
}
.ledger-cols li span {
  display: block;
  color: var(--ink-3);
  font-size: 0.84rem;
}

/* frame */
.fr-view,
.arm-view {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.fr-view img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}
.fr-view img.is-on {
  opacity: 1;
}
.fr-view .ic,
.arm-view video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.arm-view video.is-live {
  opacity: 1;
}
.fr-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}
.fr-step {
  display: grid;
  gap: 6px;
  align-content: start;
  text-align: left;
  padding: 12px 14px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  color: var(--ink-2);
  transition:
    background-color 0.18s,
    border-color 0.18s,
    color 0.18s;
}
.fr-step:hover {
  border-color: var(--ink-2);
}
.fr-step i {
  font: 500 12px/1 var(--mono);
  color: var(--ink-3);
  font-style: normal;
}
.fr-step b {
  font: 700 1.08rem/1.15 var(--display);
  font-stretch: 84%;
  color: var(--ink);
}
.fr-step span {
  display: none;
}
.fr-step[aria-selected='true'] {
  background: var(--amber);
  border-color: var(--amber);
}
.fr-step[aria-selected='true'] i,
.fr-step[aria-selected='true'] b {
  color: var(--amber-ink);
}
.fr-cap {
  margin-top: 14px;
  min-height: 3.2em;
  font-size: 1.04rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 70ch;
}
.fr-cap small {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-3);
}
.fr-var,
.fin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 12px;
}
.fr-var p,
.fin p {
  color: var(--ink-3);
}
.fr-var div,
.fin div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fr-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 8px 40px;
}
.stack-list {
  margin-top: clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 26px;
}
.stack-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
  line-height: 1.42;
  color: var(--ink-2);
}
.stack-list b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

/* armory */
.arm-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arm-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}
.arm-list button {
  display: grid;
  gap: 6px;
  align-content: start;
  text-align: left;
  padding: 12px 14px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  color: var(--ink-2);
  transition:
    background-color 0.18s,
    border-color 0.18s;
}
.arm-list button:hover {
  border-color: var(--ink-2);
}
.arm-list b {
  font: 800 1.16rem/1.05 var(--display);
  font-stretch: 70%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.arm-list span {
  font-size: 0.88rem;
}
.arm-list button[aria-selected='true'] {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--amber-ink);
}
.arm-list button[aria-selected='true'] b {
  color: var(--amber-ink);
}
.sub-head {
  margin: clamp(48px, 7vw, 96px) 0 clamp(20px, 3vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px clamp(28px, 5vw, 80px);
  align-items: end;
}
.mach {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.mach figure {
  background: var(--bg-2);
}
.mach .clip-frame,
.mach .zoom {
  aspect-ratio: 4 / 3;
}
.mach figcaption {
  padding: 12px 14px 16px;
}
.mach figcaption b {
  display: block;
  font: 800 1.14rem/1.1 var(--display);
  font-stretch: 72%;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.mach figcaption span {
  display: block;
  margin-top: 5px;
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.4;
}
.mach .clip-ctl {
  right: 8px;
  top: 8px;
}
.mach .ic {
  width: 40px;
  height: 40px;
}

/* end */
.end {
  background: var(--bg-2);
}
.end-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.end-make {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
.end-make small {
  color: var(--ink-3);
  font-size: 0.9rem;
  max-width: 30em;
}
.end .dl {
  background: var(--bg-2);
}
.end .dl:hover {
  background: var(--panel);
}
.end-film {
  margin-top: 14px;
}

/* footer */
.foot {
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 30px;
}
.foot-title {
  color: var(--ink-3);
  font-size: 0.92rem;
  max-width: 56ch;
}
.foot-title b {
  color: var(--ink-2);
}
.foot [data-exploration-controls] {
  border-top: 0;
  background: none;
  padding: 0;
}
.foot-end {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-3);
}
.foot-end::before,
.foot-end::after {
  content: '';
  height: 1px;
  flex: 1;
  background: var(--line);
}

/* dialogs */
dialog {
  color: var(--ink);
  border: 0;
  padding: 0;
  background: none;
  max-width: none;
  max-height: none;
}
dialog::backdrop {
  background: rgba(3, 5, 9, 0.86);
}
.how {
  width: min(1240px, 100vw - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  overflow: auto;
  overscroll-behavior: contain;
}
.how[open] {
  animation: rise 0.26s var(--ease);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
}
.how-top {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 22px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.how-top h2 {
  font: 800 1.2rem/1 var(--display);
  font-stretch: 70%;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.how-body {
  padding: clamp(16px, 2.6vw, 30px);
}
.how-film {
  background: #000;
  aspect-ratio: 16 / 9;
  position: relative;
  /* the film and the two downloads above it fit one screen */
  width: min(100%, (100dvh - 250px) * 16 / 9);
  min-width: min(100%, 520px);
  margin-inline: auto;
}
.how-film video {
  width: 100%;
  height: 100%;
}
.how-film-soon {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  text-align: center;
  color: var(--ink-2);
  padding: 20px;
  background: var(--panel);
}
.how-dl {
  margin-bottom: 16px;
}
.how-grid {
  margin-top: clamp(24px, 3.4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.how-grid h3 {
  color: var(--ink-3);
  margin-bottom: 12px;
  font-weight: 500;
}
.how-steps {
  counter-reset: s;
}
.how-steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 30px 1fr;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.97rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.how-steps li::before {
  content: counter(s, decimal-leading-zero);
  font: 500 12px/1.9 var(--mono);
  color: var(--amber);
}
.how-steps b {
  color: var(--ink);
  font-weight: 600;
}
.how-tools li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.97rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.how-tools b {
  color: var(--ink);
  font-weight: 600;
}
.how-end {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* the modal: close to the whole viewport, the picture or the model takes most of it */
.lb {
  width: min(100vw - 32px, 1840px);
  height: calc(100dvh - 32px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--ink);
  overflow: hidden;
}
.lb::backdrop {
  background: rgba(3, 5, 9, 0.88);
}
.lb[open] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(330px, 27vw, 440px);
  animation: fade 0.2s var(--ease);
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
.mx-main {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  background: radial-gradient(
    ellipse at 50% 58%,
    #18222f 0%,
    #0b1019 58%,
    #070a10 100%
  );
}
.lb-stage {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 24px 84px;
}
.lb.is-3d .lb-stage {
  padding: 0;
}
.lb-stage > img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lb-stage .cmp {
  width: min(100%, (100dvh - 100px) * 16 / 9);
}
.mx-3d {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.mx-3d > img,
.apart-view > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6% 12%;
  transition: opacity 0.4s var(--ease);
}
.mx-arrow {
  position: absolute;
  top: 50%;
  margin-top: -28px;
  width: 56px;
  height: 56px;
  z-index: 4;
  border: 1px solid var(--line-2);
  border-radius: 50%;
}
.mx-arrow.prev {
  left: 14px;
}
.mx-arrow.next {
  right: 14px;
}
.lb.is-3d .mx-arrow.prev {
  left: auto;
  right: 82px;
  top: auto;
  bottom: 14px;
  margin: 0;
}
.lb.is-3d .mx-arrow.next {
  top: auto;
  bottom: 14px;
  margin: 0;
}
.mx-side {
  min-height: 0;
  overflow: auto;
  padding: 16px 26px 28px;
  border-left: 1px solid var(--line);
}
.mx-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  margin-bottom: 22px;
}
.mx-pos {
  font-size: 15px;
  color: var(--ink-2);
}
.lb-x {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  margin-left: auto;
}

/* the info panel: kind, name, large figures, links */
.info-kind {
  color: var(--amber);
  margin: 0 0 10px;
}
.info-name {
  margin: 0;
  font: 800 clamp(1.9rem, 2.6vw, 2.7rem) / 1 var(--display);
  font-stretch: 68%;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.info-what {
  margin: 14px 0 0;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.info-nums {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line-2);
}
.info-nums dd {
  margin: 0;
  font: 800 clamp(2.4rem, 3.2vw, 3.3rem) / 0.95 var(--display);
  font-stretch: 68%;
  color: var(--ink);
}
.info-nums dt {
  margin-top: 6px;
  font-size: 1.02rem;
  color: var(--ink-2);
}
.info-h {
  margin: 26px 0 10px;
  color: var(--ink-3);
}
.info-links {
  display: grid;
  gap: 8px;
}
.info-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  font-size: 1.04rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  transition:
    border-color 0.18s,
    color 0.18s;
}
.info-link.is-strong {
  color: var(--amber);
}
a.info-link:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.info-link svg.i {
  width: 18px;
  height: 18px;
}

/* the 3D viewer, laid over the render of the asset */
.v3d-ui {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.v3d-view {
  position: absolute;
  inset: 0;
}
.v3d-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.v3d-canvas:active {
  cursor: grabbing;
}
.v3d.is-live .v3d-canvas {
  opacity: 1;
}
.v3d.is-live > img {
  opacity: 0;
}
.v3d-rail {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 4px;
  padding: 6px;
  background: rgba(7, 10, 16, 0.82);
  border: 1px solid var(--line-2);
  border-radius: 8px;
}
.v3d-rail .ic {
  position: relative;
  width: 46px;
  height: 46px;
  background: transparent;
  color: var(--ink-2);
}
.v3d-rail .ic svg.i {
  width: 24px;
  height: 24px;
}
.v3d-rail .ic:hover {
  background: var(--panel-2);
  color: var(--ink);
}
.v3d-rail .ic[aria-pressed='true'] {
  background: var(--amber);
  color: var(--amber-ink);
}
.v3d-rail .ic:hover::after,
.v3d-rail .ic:focus-visible::after {
  content: attr(data-tip);
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 7px 11px;
  background: #000;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  color: var(--ink);
  font: 600 14px/1 var(--body);
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
}
.v3d-mode {
  position: absolute;
  left: 86px;
  bottom: 16px;
  margin: 0;
  max-width: min(46%, 30em);
  pointer-events: none;
}
.v3d-mode b {
  display: block;
  font: 800 1.7rem/1 var(--display);
  font-stretch: 68%;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.v3d-mode span {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  color: var(--ink-2);
}
.v3d-clips {
  position: absolute;
  left: 86px;
  top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 300px);
}
.v3d-clips .tab {
  min-height: 44px;
  padding: 0 14px;
  background: rgba(7, 10, 16, 0.78);
}
.v3d-clips .ic {
  border: 1px solid var(--line-2);
}
.v3d-hint {
  position: absolute;
  right: 16px;
  top: 16px;
  margin: 0;
  color: var(--ink-3);
  pointer-events: none;
}
.v3d-wait {
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  margin: 0;
  padding: 10px 14px;
  background: rgba(7, 10, 16, 0.84);
  border: 1px solid var(--line-2);
  color: var(--ink);
  white-space: nowrap;
}

/* responsive */
@media (max-width: 1080px) {
  .bar-sec,
  .bar-slash {
    display: none;
  }
  .bar-action span {
    display: none;
  }
  .bar-action {
    padding: 0 10px;
  }
  .bar-make span {
    display: inline;
  }
  .site-index {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    overflow-x: auto;
    margin-inline: calc(-1 * var(--gut));
    padding-inline: var(--gut);
    scrollbar-width: none;
  }
  .arm-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mach {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stack-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ledger-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  body {
    font-size: 16.5px;
  }
  .intro-grid,
  .sec-head,
  .site-head,
  .site-body,
  .mrow,
  .ledger,
  .end-grid,
  .sub-head,
  .how-grid {
    grid-template-columns: 1fr;
  }
  .mrow-text {
    position: static;
  }
  .loop4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .loop4 li:nth-child(3) {
    border-left: 0;
  }
  .loop4 li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .loop4 li:nth-child(3)::before {
    display: none;
  }
  .hero-shade {
    background: linear-gradient(
      0deg,
      var(--bg) 0%,
      rgba(7, 10, 16, 0.72) 42%,
      rgba(7, 10, 16, 0.12) 78%
    );
  }
  .hero-motion span {
    display: none;
  }
  .hero h1 {
    margin-left: 0;
  }
  .fr-steps {
    grid-template-columns: repeat(5, minmax(128px, 1fr));
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--gut));
    padding-inline: var(--gut);
  }
  .stage-go {
    grid-template-columns: 1fr;
  }
  .stage-go > div:last-child {
    text-align: left;
  }
  .keys {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* phones: the mark alone leads to the gallery, so the four resources and the sign-up stay on one line */
@media (max-width: 480px) {
  .bar-home {
    width: 23px;
    overflow: hidden;
    flex: none;
  }
  .bar-home img {
    max-width: none;
  }
}
@media (max-width: 350px) {
  .bar {
    gap: 2px;
    padding-inline: 10px;
  }
  .bar-actions {
    gap: 0;
  }
  .bar-action {
    min-width: 34px;
    padding: 0 3px;
  }
  .bar-make {
    padding: 0 9px;
    margin-left: 4px;
  }
  .bar-make svg {
    display: none;
  }
}
@media (max-width: 700px) {
  .hero {
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
  }
  .hero-in {
    padding-bottom: 20px;
  }
  .hero-foot {
    position: static;
    max-width: none;
    padding: 0 var(--gut) 20px;
  }
  .hero-credit {
    text-align: left;
  }
}
@media (max-width: 620px) {
  .dl-row.is-compact .dl {
    grid-template-columns: auto 1fr;
  }
  .dl-row.is-compact .dl-go {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 10px;
    text-align: left;
  }
  .bar {
    gap: 6px;
  }
  .bar-title {
    display: none;
  }
  .bar-home img {
    width: 86px;
    height: 21px;
  }
  .bar-action {
    padding: 0 8px;
    min-width: 40px;
    justify-content: center;
  }
  .bar-make {
    padding: 0 12px;
    font-size: 0.84rem;
  }
  .dl-row,
  .sounds {
    grid-template-columns: 1fr;
  }
  .pics {
    grid-template-columns: repeat(min(var(--cols, 2), 2), minmax(0, 1fr));
    gap: 6px;
  }
  .btn-big {
    min-height: 58px;
    padding: 0 26px;
    font-size: 1.16rem;
  }
  .facts div {
    grid-template-columns: 7.5em 1fr;
  }
  .mach {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .mach figcaption {
    padding: 10px 10px 14px;
  }
  .arm-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stack-list,
  .ledger-cols {
    grid-template-columns: 1fr;
  }
  .how {
    width: 100vw;
    max-height: 100dvh;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .cmp-knob {
    width: 38px;
    height: 38px;
    margin: -19px 0 0 -19px;
  }
  .lb-nav {
    top: auto;
    bottom: 64px;
  }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    min-height: 0;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
  }
  .hero-in {
    padding-bottom: 14px;
  }
  .hero-in {
    padding-top: calc(var(--bar-h) + 14px);
  }
  .hero-kicker {
    display: none;
  }
  .hero h1 {
    margin-bottom: 10px;
  }
  .hero-mark {
    width: 170px;
  }
  .hero-line {
    font-size: 1rem;
    max-width: 30em;
  }
  .hero-meta {
    display: none;
  }
  .hero-cta {
    margin-top: 14px;
  }
  .hero-foot {
    position: static;
    max-width: none;
    padding: 0 var(--gut) 14px;
    justify-content: space-between;
  }
  .hero-credit {
    text-align: left;
  }
  .btn-big {
    min-height: 48px;
    font-size: 1.02rem;
  }
  .strip {
    position: static;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .ring.is-wait svg {
    animation-duration: 1.6s !important;
  }
  .ring:not(.is-wait)::after {
    display: none;
  }
}

/* ---------- second design round: the hero stage, the viewer on the page, the level in rows, figures at a glance */
.mono {
  font-size: 13px;
}
.ptag,
.tab,
.fr-step,
.keys dt,
.keys dd {
  font-size: 13px;
}
.cap,
.stack-list li,
.loop4 span,
.mrow-check,
.site-place,
.dl-what,
.mach figcaption span,
.snd span {
  font-size: 1rem;
}
a.model {
  text-decoration: underline;
  text-decoration-color: rgba(242, 167, 59, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a.model:hover {
  text-decoration-color: currentColor;
}
.prov {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border: 1px solid var(--line-2);
  color: var(--ink-3);
  font-style: normal;
  vertical-align: middle;
}

/* hero */
.hero.hx {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: min(100svh, 1040px);
  align-items: stretch;
  background: #000612;
  isolation: isolate;
  overflow: hidden;
}
.hx-stage {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hs {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.hs.is-on {
  opacity: 1;
}
.hs video,
.hs img {
  position: absolute;
  right: 0;
  top: var(--bar-h);
  width: 72%;
  height: calc(100% - var(--bar-h) - 150px);
  object-fit: contain;
  object-position: 60% 50%;
}
.hs.is-cover img {
  inset: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.hx-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 6, 18, 0.94) 0%,
      rgba(0, 6, 18, 0.72) 30%,
      rgba(0, 6, 18, 0) 56%
    ),
    linear-gradient(
      0deg,
      rgba(0, 6, 18, 0.92) 0%,
      rgba(0, 6, 18, 0.4) 26%,
      rgba(0, 6, 18, 0) 46%
    );
}
.hx-in {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  padding: calc(var(--bar-h) + 36px) 0 30px;
}
.hx-copy {
  align-self: center;
  max-width: 600px;
}
.hero.hx h1 {
  margin: 0 0 14px -20px;
}
.hero.hx .hero-mark {
  width: clamp(230px, 27vw, 420px);
}
.hx-line {
  margin: 0 0 12px;
  font: 800 clamp(1.55rem, 2.5vw, 2.35rem) / 1.08 var(--display);
  font-stretch: 78%;
  letter-spacing: 0.005em;
  max-width: 17em;
  text-wrap: balance;
}
.hx-line b {
  color: var(--amber);
  font-weight: 800;
}
.hx-sub {
  margin: 0;
  max-width: 33em;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.hx-now {
  justify-self: end;
  align-self: end;
  width: min(100%, 440px);
}
.hn {
  padding: 18px 20px 20px;
  border-left: 3px solid var(--amber);
  background: rgba(0, 6, 18, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hn {
  animation: hn-in 0.5s var(--ease);
}
@keyframes hn-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.hn-kind {
  display: flex;
  gap: 14px;
  margin: 0;
  color: var(--amber);
}
.hn-kind span {
  color: var(--ink-3);
}
.hn-name {
  margin: 8px 0 10px;
  font-size: clamp(2.1rem, 3.6vw, 3.5rem);
  line-height: 0.95;
}
.hn-what {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.45;
}
.hn-models {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin: 0 0 16px;
  font-size: 1rem;
}
.hn-models > span:first-child {
  color: var(--ink-3);
}
.hn-act {
  margin: 0;
}
.hx-rail {
  background: rgba(0, 6, 18, 0.78);
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hx-rail-in {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}
.hx-ctl {
  flex: none;
  display: flex;
  gap: 6px;
}
.hx-ctl .ic {
  border: 1px solid var(--line-2);
  border-radius: 50%;
}
[data-hs-pause] > .i-pause,
[data-hs-pause][aria-pressed='true'] > .i-play {
  display: block;
}
[data-hs-pause] > .i-play,
[data-hs-pause][aria-pressed='true'] > .i-pause {
  display: none;
}
.hx-thumbs {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.hx-thumbs::-webkit-scrollbar {
  display: none;
}
.ht {
  position: relative;
  flex: 1 0 132px;
  max-width: 190px;
  padding: 0 0 9px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(15, 22, 34, 0.7);
  text-align: left;
  overflow: hidden;
  transition:
    border-color 0.18s,
    background-color 0.18s;
}
.ht img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  background: #000612;
}
.ht-t {
  display: block;
  padding: 8px 10px 0;
  min-width: 0;
}
.ht-t .mono {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.ht-t b {
  display: block;
  margin-top: 3px;
  font: 800 1.02rem/1.05 var(--display);
  font-stretch: 70%;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ht:hover {
  border-color: var(--line-2);
}
.ht[aria-selected='true'] {
  border-color: var(--amber);
  background: rgba(242, 167, 59, 0.1);
}
.ht[aria-selected='true'] .ht-t .mono {
  color: var(--amber);
}
.ht::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.hx.is-auto .ht.is-run::after {
  animation: ht-run var(--secs, 7s) linear forwards;
}
@keyframes ht-run {
  to {
    transform: scaleX(1);
  }
}

/* intro */
.intro-text p b {
  color: var(--ink);
  font-weight: 700;
}
.intro-text .intro-for {
  font-size: 1rem;
  color: var(--ink-3);
}

/* site cards under the stage: one click starts the game in that site */
.play-sites {
  margin-top: clamp(28px, 4vw, 48px);
}
.play-sites-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  margin: 0 0 14px;
}
.play-sites-head b {
  font: 800 1.6rem/1 var(--display);
  font-stretch: 68%;
  text-transform: uppercase;
}
.play-sites-head span {
  color: var(--ink-2);
  font-size: 1.05rem;
}
.play-sites .site-index {
  margin-bottom: 0;
}
.site-card-go {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amber);
  color: var(--amber-ink);
  transition: transform 0.18s var(--ease);
}
.site-card:hover .site-card-go {
  transform: scale(1.1);
}
.site-card-what {
  display: block;
  margin-top: 8px;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--ink-2);
}

/* the viewer on the page */
.apart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(310px, 27vw, 420px);
  border: 1px solid var(--line-2);
  background: var(--bg-2);
}
.apart-view {
  position: relative;
  min-height: clamp(460px, 62vh, 720px);
  overflow: hidden;
  background: radial-gradient(
    ellipse at 50% 58%,
    #18222f 0%,
    #0b1019 58%,
    #070a10 100%
  );
}
.apart .info {
  padding: 28px 26px;
  border-left: 1px solid var(--line);
}
.pick-row {
  margin-top: 22px;
}
.pick-head,
.astrip-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 22px;
  margin: 0 0 12px;
}
.pick-head b,
.astrip-head b {
  font: 800 1.35rem/1.1 var(--display);
  font-stretch: 72%;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.pick-head span,
.astrip-head > span {
  color: var(--ink-2);
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
}
.astrip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--line-2) transparent;
}
.astrip-block {
  margin-top: clamp(28px, 4vw, 48px);
}
.astrip .atile {
  flex: none;
  height: 200px;
  aspect-ratio: 3 / 2;
  scroll-snap-align: start;
}
.astrip .atile.is-pair {
  aspect-ratio: 2 / 1;
}
.astrip.is-big .atile {
  height: clamp(220px, 24vw, 320px);
}
.atile {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--panel);
}
.atile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.atile-3d {
  position: absolute;
  right: 8px;
  top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px 5px 7px;
  background: var(--amber);
  color: var(--amber-ink);
  font: 800 13px/1 var(--display);
  letter-spacing: 0.08em;
}
.atile-3d svg.i {
  width: 16px;
  height: 16px;
}
.pick {
  flex: none;
  width: 196px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--panel);
  text-align: left;
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color 0.18s;
}
.pick img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #0b1019;
}
.pick-t {
  display: block;
  padding: 10px 12px 12px;
}
.pick-t .mono {
  display: block;
  color: var(--ink-3);
}
.pick-t b {
  display: block;
  margin-top: 5px;
  font: 800 1.12rem/1.05 var(--display);
  font-stretch: 76%;
  text-transform: uppercase;
}
.pick:hover {
  border-color: var(--ink-2);
}
.pick[aria-selected='true'] {
  border-color: var(--amber);
  box-shadow: inset 0 -4px 0 var(--amber);
}
.pick[aria-selected='true'] .mono {
  color: var(--amber);
}

/* figures at a glance */
.big4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line-2);
}
.big4 > div {
  padding: clamp(22px, 3vw, 40px) clamp(16px, 2vw, 30px);
}
.big4 > div + div {
  border-left: 1px solid var(--line);
}
.big4 b {
  display: block;
  font: 800 clamp(3.6rem, 8vw, 7.4rem) / 0.86 var(--display);
  font-stretch: 66%;
  letter-spacing: -0.01em;
}
.big4 > div:first-child b {
  color: var(--amber);
}
.big4 span {
  display: block;
  margin-top: 14px;
  max-width: 21ch;
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--ink-2);
}
.split {
  margin-top: clamp(36px, 5vw, 64px);
}
.split h3 {
  margin: 0;
  font: 800 1.6rem/1 var(--display);
  font-stretch: 70%;
  text-transform: uppercase;
}
.split ol {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  columns: 2;
  column-gap: clamp(28px, 5vw, 72px);
}
.split li {
  break-inside: avoid;
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr);
  gap: 2px 16px;
  align-items: baseline;
  padding: 13px 0 14px;
  border-top: 1px solid var(--line);
}
.split li b {
  grid-row: 1 / 3;
  align-self: center;
  text-align: right;
  font: 800 2.3rem/1 var(--display);
  font-stretch: 68%;
}
.split-what {
  position: relative;
  padding-bottom: 9px;
  font-size: 1.1rem;
  font-weight: 600;
}
.split-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--w);
  min-width: 4px;
  height: 4px;
  background: var(--amber);
  opacity: 0.85;
}
.split-by {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  font-size: 0.98rem;
}
.scale-note {
  margin: 20px 0 0;
  max-width: 70ch;
  color: var(--ink-3);
  font-size: 1rem;
}
.stats {
  display: grid;
  margin: 0;
}
.stats > div {
  display: flex;
  flex-direction: column-reverse;
  padding: 16px 0;
  border-top: 1px solid var(--line-2);
}
.stats dd {
  margin: 0;
  font: 800 clamp(2.5rem, 4vw, 3.6rem) / 1 var(--display);
  font-stretch: 68%;
}
.stats dd small {
  margin-left: 10px;
  font: 500 1rem/1 var(--body);
  color: var(--ink-2);
  letter-spacing: 0;
}
.stats dt {
  margin-top: 8px;
  font-size: 1.02rem;
  color: var(--ink-2);
}
.figs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 28px;
  margin-bottom: 30px;
}
.light {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}

/* one level in rows */
.wall {
  display: grid;
  gap: clamp(44px, 6vw, 84px);
}
.wall-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px 24px;
  margin-bottom: 18px;
}
.wall-n {
  margin: 0;
  min-width: 1.2em;
  font: 800 clamp(3.4rem, 6vw, 5.4rem) / 0.82 var(--display);
  font-stretch: 66%;
  color: var(--amber);
}
.wall-head h3 {
  margin: 0;
  font: 800 clamp(1.5rem, 2.2vw, 2rem) / 1 var(--display);
  font-stretch: 70%;
  text-transform: uppercase;
}
.wall-line {
  margin: 8px 0 0;
  max-width: 64ch;
  font-size: 1.06rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.wall-by {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px 12px;
  max-width: 30em;
  margin: 0;
  font-size: 1rem;
}
.wall-by > span:first-child {
  color: var(--ink-3);
}
.wall-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 10px;
}
.wall-grid .zoom {
  display: block;
}
.wall-sounds {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.wall-then {
  margin-top: clamp(56px, 7vw, 104px);
}

@media (max-width: 1080px) {
  .hs video,
  .hs img {
    width: 100%;
    opacity: 0.55;
  }
  .hs.is-cover img {
    opacity: 1;
  }
  .hx-in {
    grid-template-columns: minmax(0, 1fr);
  }
  .hx-now {
    justify-self: start;
    min-height: 0;
  }
  .big4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .big4 > div:nth-child(3) {
    border-left: 0;
  }
  .big4 > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .apart-grid,
  .light {
    grid-template-columns: minmax(0, 1fr);
  }
  .apart .info {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .figs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .lb {
    width: 100vw;
    height: 100dvh;
    border: 0;
  }
  .lb[open] {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 54dvh) minmax(0, 1fr);
  }
  .lb-stage {
    padding: 12px;
  }
  .mx-side {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 8px 18px 24px;
  }
  .mx-top {
    margin-bottom: 10px;
  }
  .mx-arrow,
  .lb.is-3d .mx-arrow {
    top: auto;
    bottom: 10px;
    margin: 0;
    width: 48px;
    height: 48px;
  }
  .lb.is-3d .mx-arrow.prev {
    right: 68px;
  }
  .mx-arrow.prev {
    left: auto;
    right: 68px;
  }
  .mx-arrow.next {
    right: 10px;
  }
  .v3d-rail {
    left: 8px;
    top: 8px;
    transform: none;
    grid-auto-flow: column;
  }
  .v3d-rail .ic {
    width: 44px;
    height: 44px;
  }
  .v3d-rail .ic:hover::after,
  .v3d-rail .ic:focus-visible::after {
    display: none;
  }
  .v3d-mode {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 150px);
  }
  .v3d-mode b {
    font-size: 1.3rem;
  }
  .v3d-clips {
    left: 8px;
    top: 66px;
    max-width: calc(100% - 16px);
  }
  .v3d-hint {
    display: none;
  }
  .split ol {
    columns: 1;
  }
  .wall-head {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .wall-by {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .wall-grid {
    grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr));
  }
  .wall-sounds {
    grid-template-columns: minmax(0, 1fr);
  }
  .astrip .atile {
    height: 170px;
  }
  .astrip.is-big .atile {
    height: 200px;
  }
  .apart-view {
    min-height: 62vh;
  }
}
@media (max-width: 700px) {
  .hero.hx {
    display: block;
    min-height: 0;
  }
  .hx-stage {
    position: relative;
    margin-top: var(--bar-h);
    aspect-ratio: 4 / 3;
    z-index: 0;
  }
  .hs video,
  .hs img {
    inset: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    object-position: 50% 50%;
  }
  .hx-shade {
    background: linear-gradient(0deg, #000612 0%, rgba(0, 6, 18, 0) 30%);
  }
  .hx-in {
    padding: 4px 0 22px;
    gap: 22px;
  }
  .hero.hx h1 {
    margin-left: -12px;
  }
  .hx-now {
    width: 100%;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }
  .hx-rail-in {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .ht {
    flex: none;
    width: 200px;
  }
  .big4 b {
    font-size: 3.4rem;
  }
  .big4 span {
    font-size: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hs,
  .hn {
    transition: none;
    animation: none;
  }
  .hx.is-auto .ht.is-run::after {
    animation: none;
  }
}

/* type floor: labels at 13 px or more, reading text at 16 px or more */
button.fr-step,
.parts li,
.rig-clips,
.rig-clips li,
.rig-tree,
.rig-head,
.dl-what code {
  font-size: 13px;
}
.fr-cap small,
.stage-bar,
.end-make small,
.ledger p,
.ledger-cols li,
.ledger-cols li span,
.site-card-what,
.bar-action {
  font-size: 1rem;
}
/* rows that scroll sideways never widen the page */
.wall,
.wall-row,
.astrip-block,
.pick-row,
.apart-grid > *,
.light > * {
  min-width: 0;
}
.wall {
  grid-template-columns: minmax(0, 1fr);
}
.mach figure {
  position: relative;
}
.open3d {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 10px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  font: 700 0.95rem/1 var(--display);
  font-stretch: 82%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    border-color 0.18s,
    color 0.18s;
}
.open3d:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.open3d svg.i {
  width: 18px;
  height: 18px;
}
.fr-step i,
.fr-step b {
  font-size: 13px;
}
.stage-note {
  font-size: 1rem;
}
@media (max-width: 860px) {
  .site-card-what {
    display: none;
  }
  .site-card-go {
    width: 40px;
    height: 40px;
    right: 8px;
    top: 8px;
  }
}

/* the parts of a render shot: the one on screen is lit */
.passes {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
}
.passes li {
  flex: 1;
  padding: 9px 6px 8px;
  border-top: 3px solid var(--line-2);
  font: 700 0.95rem/1.1 var(--display);
  font-stretch: 78%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition:
    color 0.25s,
    border-color 0.25s;
}
.passes li.is-on {
  border-top-color: var(--amber);
  color: var(--ink);
}
.info-turn {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #04070d;
  border: 1px solid var(--line);
}
.info .passes {
  margin: 8px 0 0;
}
.hero.hx {
  background: #02060f;
}

/* hero, second pass: the render sits above its caption band, nothing covers it */
.hs video,
.hs img {
  right: 0;
  width: 60%;
  height: calc(100% - var(--bar-h) - 150px - 196px);
  object-position: 50% 50%;
}
.hx-in {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
}
.hx-now {
  width: 100%;
  justify-self: stretch;
}
.hn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 6px 26px;
  align-items: end;
  padding: 16px 20px 18px;
}
.hn-kind,
.hn-name,
.hn-what {
  grid-column: 1;
}
.hn-name {
  margin: 6px 0 8px;
  font-size: clamp(1.9rem, 3vw, 2.9rem);
}
.hn-what {
  margin: 0;
  font-size: 1.04rem;
}
.hn .passes,
.hn-models,
.hn-act {
  grid-column: 2;
}
.hn .passes {
  grid-row: 1 / 3;
  align-self: end;
  margin: 0 0 6px;
}
.hn-models {
  grid-row: 3;
  margin: 0;
  align-self: start;
}
.hn-act {
  grid-row: 3;
  justify-self: end;
  align-self: end;
}
.hn:not(:has(.passes)) .hn-models {
  grid-row: 2;
  align-self: end;
}
.ht-t b {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 2.1em;
}
@media (max-width: 1080px) {
  .hs video,
  .hs img {
    width: 100%;
    height: calc(100% - var(--bar-h) - 150px);
  }
  .hn {
    grid-template-columns: minmax(0, 1fr);
  }
  .hn .passes,
  .hn-models,
  .hn-act {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
  .hn .passes {
    width: 100%;
    margin-top: 10px;
  }
}
@media (max-width: 700px) {
  .hs video,
  .hs img {
    height: 100%;
  }
}
.hn .passes {
  grid-row: 1;
  margin: 0;
}
.hn-models {
  grid-row: 2;
  align-self: center;
}
.hn-act {
  grid-row: 3;
  justify-self: start;
}
.hn:not(:has(.passes)) .hn-models {
  grid-row: 2;
  align-self: center;
}
.ht-t b {
  min-height: 0;
}
.hs:not(.is-cover) video {
  -webkit-mask-image: radial-gradient(
    ellipse 58% 60% at 50% 50%,
    #000 64%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 58% 60% at 50% 50%,
    #000 64%,
    transparent 100%
  );
}
@media (max-width: 1080px) {
  .hn .passes,
  .hn-models,
  .hn-act {
    grid-row: auto;
  }
}

@keyframes hs-drift {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

.hx-shade {
  pointer-events: none;
}
.hero.hx .hero-mark {
  width: clamp(220px, 24vw, 370px);
}
.hx-line {
  font-size: clamp(1.7rem, 2.7vw, 2.6rem);
  margin-bottom: 22px;
}
.hx-in {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  align-items: stretch;
}
.hx-copy {
  align-self: center;
  padding-bottom: 40px;
}
.hx-now {
  align-self: end;
}
.hn {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 4px 28px;
  padding: 14px 0 0 20px;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hn-name {
  font-size: clamp(2.2rem, 3.5vw, 3.3rem);
}
.hn-what {
  font-size: 1.08rem;
  color: var(--ink);
}
.hn .passes li {
  font-size: 1rem;
}
@media (max-width: 1080px) {
  .hx-in {
    grid-template-columns: minmax(0, 1fr);
  }
  .hn {
    padding-left: 16px;
  }
}

/* links to an asset on Scenario */
a.alink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font-size: 1rem;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
}
a.alink:hover {
  color: var(--ink);
  text-decoration-color: var(--amber);
}
a.alink .i {
  width: 15px;
  height: 15px;
}
.mach figcaption a.alink {
  margin-left: 14px;
}

/* edits: the kinds of edit with how to ask, then one edit at a time */
.ed-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}
.ed-type {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px 24px;
  text-align: left;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-top: 3px solid var(--amber);
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.ed-type:hover {
  background: var(--bg-3, #121925);
}
.ed-type-n {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.95;
}
.ed-type-k {
  color: var(--amber);
}
.ed-type-how {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.ed-type-how b {
  color: var(--ink);
}
.ed {
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  scroll-margin-top: calc(var(--bar-h) + 54px);
}
.ed-rail {
  display: flex;
  align-items: stretch;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.ed-ctl {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.ed-ctl .ic {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
}
.ed-pos {
  min-width: 5.2em;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.ed-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  min-width: 0;
  flex: 1;
  scrollbar-width: none;
}
.ed-tabs::-webkit-scrollbar {
  display: none;
}
.ed-tab {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 300px;
  padding: 9px 16px 10px;
  text-align: left;
  color: var(--ink-2);
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
}
.ed-tab .mono {
  color: var(--ink-3);
}
.ed-tab b {
  font: 700 1.08rem/1.15 var(--display);
  font-stretch: 78%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ed-tab:hover {
  border-color: var(--line-2);
  color: var(--ink);
}
.ed-tab[aria-selected='true'] {
  color: var(--ink);
  border-color: var(--amber);
  background: rgba(242, 167, 59, 0.08);
}
.ed-tab[aria-selected='true'] .mono {
  color: var(--amber);
}
.ed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(320px, 29vw, 440px);
  min-width: 0;
}
.ed-view {
  min-height: clamp(480px, 66vh, 760px);
}
.ed-cards {
  border-left: 1px solid var(--line);
  min-width: 0;
}
.ed-card {
  padding: 28px 26px;
}
.ed-title {
  margin: 6px 0 20px;
  font: 800 clamp(1.7rem, 2.4vw, 2.3rem) / 1.02 var(--display);
  font-stretch: 78%;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.ed-diff {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
}
.ed-diff div {
  padding-left: 14px;
  border-left: 3px solid var(--line-2);
}
.ed-diff .is-changed {
  border-left-color: var(--amber);
}
.ed-diff dt {
  font: 700 0.95rem/1 var(--display);
  font-stretch: 78%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ed-diff .is-changed dt {
  color: var(--amber);
}
.ed-diff dd {
  margin: 6px 0 0;
  font-size: 1.1rem;
  line-height: 1.45;
}
.ed-card .info-nums s {
  margin-right: 0.3em;
  font-size: 0.55em;
  color: var(--ink-3);
  text-decoration-thickness: 2px;
}
.ed-card .info-nums .is-moved dd {
  color: var(--amber);
}
.ed-clip {
  margin: 14px 0 0;
  font-size: 1.05rem;
  color: var(--ink-2);
}
.ed-clip b {
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 500;
}
.ed-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 0;
  font-size: 1.05rem;
}
.ed-prompt {
  margin: 0;
  padding: 26px 28px 30px;
  border-top: 1px solid var(--line);
  background: #0a0f18;
}
.ed-prompt figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--amber);
}
.ed-prompt blockquote {
  margin: 0;
  max-width: 78ch;
  font-size: 1.16rem;
  line-height: 1.6;
  color: var(--ink);
  white-space: pre-wrap;
}
.ed-inputs {
  margin: 16px 0 0;
  max-width: 78ch;
  font-size: 1.02rem;
  color: var(--ink-2);
}
.ed-copy .i {
  width: 16px;
  height: 16px;
}
/* viewer: before, after, side by side */
.v3d-ab {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 0;
  padding: 4px;
  background: rgba(6, 10, 18, 0.82);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 3;
}
.v3d-ab .tab {
  min-width: 96px;
  padding: 11px 18px;
  border: 0;
  font: 700 1rem/1 var(--display);
  font-stretch: 78%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: none;
  cursor: pointer;
}
.v3d-ab .tab[aria-pressed='true'] {
  color: #140d02;
  background: var(--amber);
}
.v3d-sides {
  display: none;
  position: absolute;
  inset: 64px 0 auto 0;
  margin: 0;
  pointer-events: none;
  z-index: 2;
}
.v3d-ui.is-split .v3d-sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
}
.v3d-sides span {
  font: 700 1.05rem/1 var(--display);
  font-stretch: 78%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
@media (max-width: 1080px) {
  .ed-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ed-cards {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 700px) {
  .ed-view {
    min-height: 62vh;
  }
  .ed-rail {
    flex-direction: column;
  }
  .ed-card {
    padding: 22px 18px;
  }
  .ed-prompt {
    padding: 22px 18px 26px;
  }
  .ed-prompt figcaption {
    flex-direction: column;
    align-items: flex-start;
  }
  .ed-prompt blockquote {
    font-size: 1.06rem;
  }
  .v3d-ab .tab {
    min-width: 0;
    padding: 11px 12px;
  }
}
@media (max-width: 700px) {
  .v3d-ui:has(.v3d-ab) .v3d-mode {
    bottom: 76px;
  }
  .v3d-ab {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .v3d-ab .tab {
    flex: 1;
  }
}

/* the asset rows of the other four sites */
.site-wall {
  margin-top: 34px;
}
.site-wall-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  margin: 0 0 4px;
}
.site-wall-head b {
  font: 800 clamp(1.5rem, 2.2vw, 2rem) / 1 var(--display);
  font-stretch: 78%;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.site-wall-head span {
  color: var(--ink-2);
  font-size: 1.05rem;
}

/* edits: where the result lives (in the game, or measured against its parent) */
.ed-card .info-kind {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ed-where {
  font: inherit;
  padding: 3px 9px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  color: var(--ink-2);
}

/* small screens: no track may grow to the width of its content */
.hero.hx {
  grid-template-columns: minmax(0, 1fr);
}
.site-body > * {
  min-width: 0;
}
.facts div {
  grid-template-columns: 9.5em minmax(0, 1fr);
}
.facts dd {
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .hx-stage {
    overflow: hidden;
  }
}
@media (max-width: 420px) {
  .facts div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

/* a phone held sideways: the render keeps the right of the first screen, the title and the two buttons fit beside it */
@media (max-height: 480px) and (min-width: 701px) and (max-width: 1080px) {
  .hx-in {
    padding-top: calc(var(--bar-h) + 12px);
  }
  .hx-copy {
    max-width: 46%;
    padding-bottom: 20px;
  }
  .hero.hx .hero-mark {
    width: 170px;
  }
  .hero.hx h1 {
    margin-bottom: 8px;
  }
  .hx-line {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
}

/* armory: the stage shows the weapon rendered from its file, or in the armory of the game */
.arm-mode {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  display: flex;
  gap: 6px;
}
.arm-mode .tab {
  background: rgba(7, 10, 16, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.arm-mode .tab[aria-pressed='true'] {
  background: var(--amber);
}
.arm-mode .tab:disabled {
  opacity: 0.45;
  cursor: default;
}
.arm-view.is-built {
  background: #02060f;
}

/* method, the rig: each clip is a row with its name large, never a tiny chip */
.rig-clips li {
  padding: 10px 12px 11px;
  font-size: 13px;
}
.rig-clips b {
  font: 800 1.2rem/1.1 var(--display);
  font-stretch: 70%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* intro, second pass: three claims as doors to the sections that prove them, then who it is for and the two files */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-2);
  border-radius: var(--r);
}
.pillar {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 34px);
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color 0.18s;
}
.pillar + .pillar {
  border-left: 1px solid var(--line-2);
}
.pillar:hover,
.pillar:focus-visible {
  background: var(--panel);
}
.pillar-n {
  color: var(--amber);
  font-size: 13px;
  letter-spacing: 0.14em;
}
.pillar-t {
  font-size: clamp(2.1rem, 3.6vw, 3.5rem);
  line-height: 0.96;
  color: var(--ink);
}
.pillar-p {
  font-size: 1.08rem;
  line-height: 1.5;
  text-wrap: pretty;
}
.pillar-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--amber);
  font-size: 1rem;
  font-weight: 600;
}
.pillar-go .i {
  width: 18px;
  height: 18px;
  transition: transform 0.18s var(--ease);
}
.pillar:hover .pillar-go .i {
  transform: translateX(4px);
}
.intro .intro-grid {
  margin-top: clamp(24px, 3vw, 44px);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
}
.intro .intro-for {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
}
@media (max-width: 860px) {
  .pillars {
    grid-template-columns: minmax(0, 1fr);
  }
  .pillar + .pillar {
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }
  .intro .intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pillar-go .i {
    transition: none;
  }
}

/* a sound with the link to its asset under it */
.snd-w {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 6px;
  min-width: 0;
}
.snd-w .snd {
  width: 100%;
}
.snd-w a.alink {
  justify-self: start;
  font-size: 13px;
  color: var(--ink-3);
}
.snd-w a.alink:hover {
  color: var(--amber);
}
.cap a.alink {
  margin-left: 10px;
  font-size: inherit;
}

/* edits: the measurements of an edit open under its one line */
.ed-more {
  margin-top: 8px;
}
.ed-more summary {
  cursor: pointer;
  color: var(--amber);
  font-size: 1rem;
  font-weight: 600;
}
.ed-more p {
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-2);
}

/* viewer: the clip in play reads as selected, and the clip row stops short of the hint */
.v3d-clips {
  max-width: calc(100% - 400px);
}
.v3d-clips .tab[aria-pressed='true'] {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--amber-ink);
}
@media (max-width: 860px) {
  .v3d-clips {
    max-width: calc(100% - 16px);
  }
}

/* edits: the viewer keeps one screen of height whatever the length of the card beside it, and stays in view while the card is read */
@media (min-width: 1081px) {
  .ed-view {
    align-self: start;
    position: sticky;
    top: calc(var(--bar-h) + var(--strip-h) + 12px);
    min-height: 0;
    height: clamp(
      460px,
      calc(100vh - var(--bar-h) - var(--strip-h) - 24px),
      780px
    );
  }
}

/* side by side: each file is named under it, clear of the clip row at the top */
.v3d-sides {
  inset: auto 0 108px 0;
}
@media (max-width: 700px) {
  .v3d-sides {
    inset: auto 0 152px 0;
  }
}

/* edits: the still shown while the file loads fades into the stage on every side */
.ed-view > img {
  padding: 4% 8%;
  -webkit-mask-image: radial-gradient(
    ellipse 41% 32% at 50% 50%,
    #000 38%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 41% 32% at 50% 50%,
    #000 38%,
    transparent 100%
  );
}

/* ---------- AAA In The Browser: the hero words and the four pillars */
.hero.hx h1.aaa {
  display: grid;
  justify-items: start;
  gap: clamp(4px, 0.6vw, 10px);
  margin: 0 0 clamp(14px, 1.6vw, 24px);
}
.aaa-big {
  display: block;
  margin-left: -0.04em;
  font: 900 clamp(7rem, 16.5vw, 16.5rem) / 0.76 var(--display);
  font-stretch: 64%;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-shadow: 0 4px 60px rgba(0, 4, 12, 0.7);
}
.aaa-sub {
  display: block;
  padding: 0.16em 0 0 0.04em;
  border-top: 3px solid var(--amber);
  font: 800 clamp(1.35rem, 2.9vw, 2.9rem) / 1 var(--display);
  font-stretch: 74%;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: var(--amber);
}
.hero.hx .hx-line {
  max-width: 22em;
  font-size: clamp(1.25rem, 1.75vw, 1.7rem);
  line-height: 1.18;
  margin-bottom: 22px;
}
@media (max-height: 480px) and (min-width: 701px) and (max-width: 1080px) {
  .aaa-big {
    font-size: 4.6rem;
  }
  .aaa-sub {
    font-size: 1.05rem;
    border-top-width: 2px;
  }
  .hero.hx .hx-line {
    font-size: 1.05rem;
    margin-bottom: 10px;
  }
}
.why-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(20px, 2.6vw, 36px);
}
.why-head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  line-height: 0.95;
}
.why-head p {
  margin: 0;
  max-width: 34em;
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
}
.pillars.p4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line-2);
}
.pillars.p4 .pillar {
  grid-template-rows: auto auto auto 1fr auto;
  gap: 14px;
  background: var(--bg);
}
.pillars.p4 .pillar + .pillar {
  border: 0;
}
.pillars.p4 .pillar:hover,
.pillars.p4 .pillar:focus-visible {
  background: var(--panel);
}
.pillars.p4 .pillar-t {
  font-size: clamp(1.9rem, 3.1vw, 3rem);
  text-wrap: balance;
}
.pillar-figs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(20px, 3vw, 44px);
  padding: 6px 0 4px;
}
.pf {
  display: grid;
  gap: 4px;
  max-width: 15em;
}
.pf b {
  font-size: clamp(3rem, 4.4vw, 4.2rem);
  line-height: 0.9;
  color: var(--amber);
  white-space: nowrap;
}
.pf b i {
  margin-left: 0.22em;
  font: 700 0.36em/1 var(--display);
  font-stretch: 78%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.pf > span {
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--ink-2);
}
.pf .prov {
  margin-left: 6px;
}
@media (max-width: 860px) {
  .why-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .pillars.p4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pillars.p4 .pillar-n {
  text-transform: uppercase;
}
@media (max-width: 700px) {
  /* the loading line stays clear of the mode name when the before and after control takes the bottom row */
  .v3d-ui:has(.v3d-ab) ~ .v3d-wait,
  .v3d:has(.v3d-ab) .v3d-wait {
    bottom: 34%;
  }
}

/* ---------- Weight for the look and the level wall, folded method rows, the end of the page */
#frame > .wrap,
#level > .wrap {
  max-width: 1760px;
}
.mfold {
  margin-top: 28px;
  border-top: 1px solid var(--line-2);
}
.mfold > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px 24px;
  align-items: baseline;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
}
.mfold > summary::-webkit-details-marker {
  display: none;
}
.mfold > summary b {
  font: 800 clamp(1.5rem, 2.4vw, 2.2rem) / 1 var(--display);
  font-stretch: 78%;
  text-transform: uppercase;
  color: var(--ink);
}
.mfold > summary span {
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.4;
}
.mfold > summary .i {
  width: 22px;
  height: 22px;
  color: var(--amber);
  transform: rotate(90deg);
  transition: transform 0.2s var(--ease);
}
.mfold[open] > summary .i {
  transform: rotate(-90deg);
}
.mfold > summary:hover b,
.mfold > summary:focus-visible b {
  color: var(--amber);
}
.dl-facts {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.dl-facts:empty {
  display: none;
}
.end-pdf {
  display: block;
  margin-bottom: 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.18s;
}
.end-pdf:hover,
.end-pdf:focus-visible {
  border-color: var(--amber);
}
.end-pdf img {
  display: block;
  width: 100%;
  height: auto;
}
.foot-claim {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.4em;
  margin: 0 0 clamp(28px, 4vw, 56px);
  padding-bottom: clamp(24px, 3vw, 44px);
  border-bottom: 1px solid var(--line);
  font-size: clamp(2.2rem, 6.4vw, 6.2rem);
  line-height: 0.94;
  color: var(--ink);
}
.foot-claim span:last-of-type {
  color: var(--amber);
}
.foot-claim small {
  flex-basis: 100%;
  margin-top: 0.9em;
  font: 500 clamp(1.05rem, 1.5vw, 1.3rem) / 1.3 var(--body);
  font-stretch: 100%;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
}
@media (max-width: 700px) {
  .mfold > summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .mfold > summary span {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* lean hero: three statements on the left; on the stage one name line, three ticks and one quiet
   control. The render ends above the name line and the rail (--rail is set from the rail's height), so nothing covers it. */
.hero.hx {
  --cap: 60px;
}
.hero.hx h1.aaa {
  margin-bottom: 12px;
}
.hero.hx .hx-say {
  display: grid;
  gap: 8px;
  margin: 0 0 30px;
  font: 800 clamp(1.35rem, 2.05vw, 2rem) / 1.06 var(--display);
  font-stretch: 78%;
  letter-spacing: 0.005em;
}
.hero.hx .hx-say b {
  color: var(--amber);
  font-weight: 800;
}
.hero.hx .hx-say span {
  color: var(--ink);
}
.hx-copy,
.hx-now {
  position: relative;
  z-index: 1;
}
.hq {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
}
.hq[hidden] {
  display: none;
}
.hq-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  margin: 0 auto 0 0;
  white-space: nowrap;
}
.hq-line .mono {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hq-line b {
  overflow: hidden;
  font: 800 1.3rem / 1 var(--display);
  font-stretch: 78%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  color: var(--ink);
}
.passes.is-ticks {
  flex: none;
  gap: 5px;
  margin: 0;
}
.passes.is-ticks li {
  flex: none;
  padding: 0;
  border: 0;
  font-size: 0;
  line-height: 0;
}
.passes.is-ticks button {
  display: block;
  width: 26px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.passes.is-ticks button::before {
  content: '';
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--line-2);
  transition: background 0.2s;
}
.passes.is-ticks button:hover::before {
  background: var(--ink-2);
}
.passes.is-ticks li.is-on button::before {
  background: var(--amber);
}
.passes.is-ticks button:focus-visible,
.hq-open:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.hq-open {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: none;
  color: var(--ink-2);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.hq-open:hover {
  color: var(--ink);
  border-color: var(--ink-2);
}
.hq-open svg {
  width: 13px;
  height: 13px;
}
.ht-t b {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.hx-hit {
  display: none;
}

@media (min-width: 1081px) {
  .hx-hit {
    display: block;
    position: absolute;
    z-index: 0;
    left: 46%;
    right: 0;
    top: var(--bar-h);
    bottom: calc(var(--rail, 132px) + var(--cap));
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
  }
  .hero.hx .hx-in {
    padding-bottom: 8px;
  }
  .hero.hx .hs > video,
.hero.hx .hs > img {
    top: var(--bar-h);
    bottom: auto;
    height: calc(100% - var(--bar-h) - var(--rail, 132px) - var(--cap));
  }
}
@media (max-width: 1080px) {
  .hero.hx .hx-now {
    order: -1;
    padding-top: 0;
    border-top: 0;
  }
  .hero.hx .hx-say {
    margin-bottom: 22px;
  }
}

/* density pass: at rest a section shows a title, one short line, its media and one action; the rest sits
   in a closed disclosure. Reading text is 16 px or more. */
.more {
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
}
.more > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 0;
  list-style: none;
  cursor: pointer;
  font: 700 1rem / 1.2 var(--display);
  font-stretch: 78%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.more > summary::-webkit-details-marker {
  display: none;
}
.more > summary svg {
  width: 15px;
  height: 15px;
  transform: rotate(90deg);
  transition: transform 0.2s;
}
.more[open] > summary svg {
  transform: rotate(-90deg);
}
.more > summary:hover,
.more[open] > summary {
  color: var(--ink);
}
.more > summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
.more-in {
  display: grid;
  gap: 16px;
  padding: 2px 0 22px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.more-in > p {
  margin: 0;
  max-width: 64em;
  font-size: 1rem;
}
.more-inline {
  margin: 0 0 0 auto;
  border: 0;
}
.more-inline > summary {
  padding: 4px 0;
}
.more-inline[open] {
  flex-basis: 100%;
  margin-left: 0;
}
.sec-head > .more,
.sub-head > .more {
  margin-top: 6px;
  border: 0;
}

/* pillars: four compact tiles */
.why-head p {
  font-size: 1.1rem;
}
.pillars.p4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.pillars.p4 .pillar {
  gap: 14px;
  padding: 22px 22px 20px;
}
.pillars.p4 .pillar-n {
  font-size: 1rem;
}
.pillars.p4 .pillar-t {
  font-size: 1.35rem;
  line-height: 1.1;
}
.pillars.p4 .pillar-figs {
  display: flex;
  gap: 22px;
  margin: 2px 0 4px;
}
.pillars.p4 .pf {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.pillars.p4 .pf b {
  font-size: clamp(2.3rem, 3vw, 3.1rem);
  line-height: 0.95;
}
.pillars.p4 .pf i {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--ink-2);
}
.pillars.p4 .pillar-go {
  margin-top: auto;
  font-size: 1rem;
}
@media (max-width: 1080px) {
  .pillars.p4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .pillars.p4 .pillar {
    padding: 16px 14px;
  }
  .pillars.p4 .pillar-figs {
    flex-direction: column;
    gap: 12px;
  }
}

/* controls: five key caps, the rest in the disclosure */
.keys5 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  margin: 18px 0 0;
  font-size: 1rem;
  color: var(--ink-2);
}
.keys5 span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.keys5 kbd {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 9px;
  border: 1px solid var(--line-2);
  border-bottom-width: 3px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  font: 700 0.9rem / 1 inherit;
  color: var(--ink);
}
.keys5 kbd:last-of-type {
  margin-right: 5px;
}
.keys-more .keys {
  margin-top: 0;
}
@media (max-width: 759px) {
  .keys5,
  .keys-more {
    display: none;
  }
}

/* the look: the renderer facts as a compact list */
.more .stack-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.more .stack-list li {
  display: grid;
  grid-template-columns: 12em minmax(0, 1fr);
  gap: 14px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 1rem;
  line-height: 1.5;
}
.more .stack-list li b {
  color: var(--ink);
}
.light {
  grid-template-columns: minmax(0, 1fr);
}
.fr-cap,
.cap,
figcaption.cap {
  font-size: 1rem;
}

/* asset walls: count, kind, pictures */
.wall-head.is-lean {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
}
.wall-head.is-lean h3 {
  margin: 0;
}
.wall-head.is-lean .wall-line,
.wall-head.is-lean .wall-by {
  margin: 0;
  font-size: 1rem;
}
.mach figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.mfold-lede,
.loop-how {
  margin: 0 0 18px;
  max-width: 64em;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.loop-how {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.loop-how b {
  color: var(--ink);
}
.ed-how {
  margin: 0;
  font-size: 1rem;
}
@media (max-width: 700px) {
  .more .stack-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

.intro-grid {
  display: block;
}
.intro-grid .dl-row {
  max-width: 760px;
}

.dl-row.is-compact .dl-facts {
  grid-column: 2;
}
.alink,
.passes li {
  font-size: 1rem;
}
.passes.is-ticks li {
  font-size: 0;
}
.mach figcaption b {
  flex-basis: 100%;
}
.mach figcaption .more-inline {
  margin-left: auto;
}
.pillars.p4 .pillar {
  min-height: 0;
  align-content: start;
}
.info-more {
  margin-top: 14px;
}
.ed-more > summary {
  font-size: 1rem;
}

/* the 3D view replaces its poster with a dip: the poster is gone before the model shows, never both at two angles */
.v3d > img {
  transition: opacity 0.15s linear;
}
.v3d .v3d-canvas {
  transition: opacity 0.2s linear 0.15s;
}
.info-more > summary::after {
  content: '\2193';
  font-family: inherit;
}
@media (min-width: 1081px) {
  .site-body {
    display: block;
  }
  .site-body > div:first-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 28px;
    margin-bottom: 20px;
  }
  .site-body > div:first-child > .more {
    margin: 0;
    border: 0;
  }
  .site-body > div:first-child > .more[open] {
    flex-basis: 100%;
  }
  .site-body > [data-pairs] {
    max-width: 1180px;
  }
}

/* No name strip between the stage and the carousel. The stage runs down to the rail; the active card is the
   label of what is on stage; the pass ticks and the small control sit in the top right corner of the stage, clear of the model. */
.hero.hx {
  --cap: 0px;
}
.hq-line {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hq {
  height: auto;
  gap: 12px;
}
.hq-open {
  background: rgba(2, 6, 15, 0.6);
}
.ht[aria-selected='true'] {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber);
}
.ht[aria-selected='true'] .ht-t {
  background: var(--amber);
}
.ht[aria-selected='true'] .ht-t b {
  color: #0a0e16;
}
@media (min-width: 1081px) {
  .hero.hx .hx-now {
    align-self: start;
    justify-self: end;
    width: auto;
  }
}
@media (max-width: 1080px) {
  .hero.hx .hx-now {
    position: absolute;
    z-index: 2;
    top: calc(var(--bar-h) + 10px);
    right: 12px;
    width: auto;
    order: 0;
  }
}

.ed-render {
  display: block;
  width: 100%;
  height: auto;
  background: #04070d;
  border: 1px solid var(--line);
}

/* The caption of the stage sits bottom right, just above the carousel: the passes in words with the small
   control, the name in the display face, one line on how it is built. A soft shade keeps it readable on a level frame. */
.hq {
  display: grid;
  justify-items: end;
  gap: 4px;
  height: auto;
  text-align: right;
}
.hq-ctl {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 4px;
}
.passes.is-words {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0 4px 0 10px;
  height: 30px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(2, 6, 15, 0.6);
}
.passes.is-words > span + span::before {
  content: '·';
  color: var(--ink-3);
}
.passes.is-words button {
  padding: 6px 8px;
  border: 0;
  background: none;
  color: var(--ink-3);
  font: 600 0.74rem / 1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
}
.passes.is-words button:hover {
  color: var(--ink);
}
.passes.is-words .is-on button {
  color: var(--amber);
}
.passes.is-words button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 1px;
}
.hq-open {
  height: 30px;
}
.hq-name {
  margin: 0;
  font: 800 clamp(1.5rem, 2.1vw, 2.1rem) / 1 var(--display);
  font-stretch: 78%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.hq-desc {
  margin: 0;
  max-width: 38em;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--ink-2);
}
@media (min-width: 1081px) {
  .hero.hx .hx-now {
    align-self: end;
    justify-self: end;
    width: auto;
    max-width: 640px;
    margin-bottom: 10px;
  }
  .hero.hx .hx-now::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -56px -170px -60px -170px;
    background: radial-gradient(
      ellipse closest-side at 50% 50%,
      rgba(2, 6, 15, 0.9) 0,
      rgba(2, 6, 15, 0.66) 55%,
      rgba(2, 6, 15, 0) 100%
    );
    pointer-events: none;
  }
}
@media (max-width: 1080px) {
  .hero.hx .hx-now {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    order: -1;
  }
  .hq {
    justify-items: start;
    text-align: left;
  }
}

/* The bar of sections is a plain row of names again. The current section is in the accent
   colour with a thin line under it, nothing filled. It stays under the top bar at every width and scrolls sideways on a
   phone with the current name kept in view. (The numbered version is in versions/v25.) */
.strip {
  position: sticky;
}

/* the making-of PDF, paged in a large view */
.pdfm {
  width: min(100vw - 32px, 1560px);
  height: calc(100dvh - 32px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--ink);
  overflow: hidden;
}
.pdfm::backdrop {
  background: rgba(3, 5, 9, 0.88);
}
.pdfm[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  animation: fade 0.2s var(--ease);
}
.pdfm-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 10px 10px 22px;
  border-bottom: 1px solid var(--line);
}
.pdfm-top h2 {
  margin: 0 auto 0 0;
  font: 700 1.1rem / 1.2 var(--display);
  font-stretch: 78%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.pdfm-pos {
  color: var(--ink-2);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.pdfm-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 0;
  padding: 16px;
}
.pdfm-stage img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.pdfm .ic:disabled {
  opacity: 0.3;
  pointer-events: none;
}
@media (max-width: 700px) {
  .pdfm {
    width: 100vw;
    height: 100dvh;
    border: 0;
  }
  .pdfm-top {
    gap: 10px;
    padding: 8px 8px 8px 14px;
  }
  .pdfm-top h2 {
    display: none;
  }
  .pdfm-pos {
    margin-right: auto;
  }
  .pdfm-stage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    padding: 10px;
  }
  .pdfm-stage img {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .pdfm-prev {
    grid-row: 2;
    justify-self: end;
  }
  .pdfm-next {
    grid-row: 2;
    justify-self: start;
  }
}

/* The end section holds its two columns at one height: title, line, button and the downloads on the left,
   the first page of the PDF alone on the right */
.end .dl-row.is-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 28px;
}
.end-film {
  margin-top: 10px;
}
.end-pdf {
  margin-bottom: 0;
}
.end .dl-row.is-compact.end-film-row {
  margin-top: 10px;
}
.end .end-film {
  margin-top: 0;
}
.end-film .dl-go {
  white-space: nowrap;
}
.end-grid {
  align-items: center;
}
.intro-grid .dl-row {
  max-width: 1000px;
}

/* The controls of the stage (the passes in words, "3D", "Play") sit in its top right corner, at the same
   place for every entry; bottom right, above the carousel, only the caption is left: the name and one line. */
.hero.hx .hx-now {
  position: static;
}
.hero.hx .hx-now::before {
  content: none;
}
.hq-cap {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: end;
  gap: 4px;
}
.hq-ctl {
  position: absolute;
  z-index: 2;
  top: calc(var(--bar-h) + 16px);
  right: 12px;
  margin: 0;
}
@media (min-width: 1081px) {
  .hero.hx .hx-in {
    position: relative;
  }
  .hq-ctl {
    right: 0;
  }
  .hq-cap::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -56px -170px -60px -170px;
    background: radial-gradient(
      ellipse closest-side at 50% 50%,
      rgba(2, 6, 15, 0.9) 0,
      rgba(2, 6, 15, 0.66) 55%,
      rgba(2, 6, 15, 0) 100%
    );
    pointer-events: none;
  }
}
@media (max-width: 1080px) {
  .hq-cap {
    justify-items: start;
    padding-top: 12px;
  }
  .hq-ctl {
    top: calc(var(--bar-h) + 10px);
  }
}

/* The method reads in one look. Four step cards in a row, each with its number and name, one picture of the
   same prop at that step, one line, one counted figure and what is used; a line with a chevron joins them. Under the row,
   the stack in four labelled groups of chips. The card is the link to its line in the detail below. */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--bg-2);
  transition:
    border-color 0.18s,
    background-color 0.18s;
}
.step:hover,
.step:focus-within {
  border-color: var(--amber);
  background: var(--panel);
}
.step + .step::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 34px;
  width: 34px;
  height: 2px;
  background: var(--amber);
}
.step + .step::after {
  content: '';
  position: absolute;
  left: -15px;
  top: 29px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--amber);
  border-right: 2px solid var(--amber);
  transform: rotate(45deg);
}
.step-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 14px;
}
.step-n {
  color: var(--amber);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.step-go {
  color: var(--ink);
  font-size: clamp(1.6rem, 2.1vw, 2.1rem);
  font-weight: 800;
  font-stretch: 78%;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
}
.step-go::after {
  content: '';
  position: absolute;
  inset: 0;
}
.step-go:focus-visible {
  outline: none;
}
.step:focus-within {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.step-pic {
  position: relative;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  border-radius: var(--r);
  background: #04070d;
}
.step-pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.step-pic .ptag {
  font-size: 0.78rem;
}
.step-line {
  margin: 14px 0 0;
  min-height: 2.9em;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.42;
}
.step-fig {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.step-fig b {
  color: var(--amber);
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 800;
  font-stretch: 78%;
  line-height: 0.95;
}
.step-fig span {
  color: var(--ink-2);
  font-size: 1rem;
}
.step-used {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}
.step-used dt,
.stackline > div > .mono {
  margin: 0 0 6px;
  color: var(--ink-3);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.step-used dd {
  margin: 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chips > span,
.chips > a.model {
  position: relative;
  z-index: 1;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
}
.chips > a.model {
  border-color: rgba(242, 167, 59, 0.45);
  color: var(--amber);
}
.chips > a.model:hover {
  border-color: var(--amber);
  background: var(--panel);
}
.stackline {
  display: grid;
  grid-template-columns:
    minmax(0, 2.1fr) minmax(0, 1.1fr) minmax(0, 0.8fr)
    minmax(0, 1.4fr);
  gap: 22px 30px;
  margin: 30px 0 0;
  padding: 22px 0 6px;
  border-top: 1px solid var(--line);
}
.stackline > div > .mono {
  display: block;
  margin-bottom: 10px;
}
@media (max-width: 1080px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .step + .step::before,
  .step + .step::after {
    content: none;
  }
  .stackline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .step-line {
    min-height: 0;
  }
}
@media (max-width: 620px) {
  .steps,
  .stackline {
    grid-template-columns: minmax(0, 1fr);
  }
  .chips > span,
  .chips > a.model {
    white-space: normal;
  }
}
.step-used {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}
.step-used .is-wide {
  flex-basis: 100%;
}
.step-fig {
  margin-top: auto;
  padding-top: 16px;
}
.step-used {
  margin-bottom: 18px;
}

.loop-how li:target {
  color: var(--ink);
  box-shadow: inset 3px 0 0 var(--amber);
  padding-left: 12px;
}

/* Carousel labels sit on one line, cut with an ellipsis when too long, so every tile has the same height;
   the controls of the stage are larger */
.ht-t {
  min-width: 0;
}
.ht-t b {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.12;
}
.passes.is-words {
  height: 40px;
  padding: 0 6px 0 12px;
}
.passes.is-words button {
  padding: 12px 9px;
  font-size: 0.86rem;
}
.hq-open {
  height: 40px;
  padding: 0 15px;
  gap: 8px;
  font-size: 0.86rem;
}
.hq-open svg {
  width: 16px;
  height: 16px;
}

/* a render clip in the large view; the poster button of the two renders whose subject is small in frame */
.vidm[open] {
  grid-template-rows: auto minmax(0, 1fr);
}
.vidm-stage {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 16px;
}
.vidm-stage video {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #04070d;
}
.ed-render-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: #04070d;
  cursor: zoom-in;
}
.ed-render-open img {
  display: block;
  width: 100%;
  height: auto;
}
.ed-render-open span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--amber-ink);
  font-size: 1rem;
  font-weight: 700;
}
.ed-render-open span svg {
  width: 14px;
  height: 14px;
}
.ed-render-big {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 0;
  border: 0;
  background: none;
  cursor: pointer;
}

/* A click anywhere on the stage opens the large view of the entry on screen */
@media (min-width: 1081px) {
  .hero.hx .hx-in {
    pointer-events: none;
  }
  .hero.hx .hx-in a,
  .hero.hx .hx-in button {
    pointer-events: auto;
  }
}
.lb-play {
  margin-top: 22px;
}

/* the large view of a rendered asset: everything fits without scrolling. Name, three lines, figures in one row,
   the steps with their names, the prompt, two links. Only the opened prompt scrolls, in its own box. */
.lb.is-made[open] {
  grid-template-columns: minmax(0, 1fr) clamp(440px, 36vw, 600px);
}
.lb.is-made .mx-side {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 12px 24px 18px;
}
.lb.is-made .mx-top {
  position: absolute;
  top: 10px;
  right: 16px;
  z-index: 1;
  min-height: 40px;
  margin: 0;
  gap: 12px;
}
.lb.is-made .lb-x {
  width: 40px;
  height: 40px;
}
.info.mk {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mk .info-kind {
  display: flex;
  align-items: center;
  min-height: 40px;
  margin: 0;
  padding-right: 130px;
}
.mk .info-name {
  font-size: clamp(1.6rem, 2.1vw, 2.3rem);
}
.mk-intro {
  display: grid;
  gap: 2px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--ink-2);
}
.mk-intro b {
  color: var(--amber);
  font-weight: 700;
}
.mk .info-nums {
  flex-wrap: nowrap;
  gap: 4px 22px;
  margin: 0;
  padding: 10px 0 0;
}
.mk .info-nums div {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}
.mk .info-nums dd {
  font-size: 1.7rem;
  line-height: 1;
}
.mk .info-nums dt {
  margin: 0;
  font-size: 1rem;
}
.mk-steps {
  flex: 0 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mk-prompt {
  flex: 1 1 82px;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mk-prompt-h {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.mk-prompt-h span {
  flex: 1;
  color: var(--ink-3);
}
.mk-prompt-h button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
}
.mk-prompt-h button:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.mk-prompt-text {
  flex: 1 1 0;
  min-height: 0;
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink-2);
  white-space: pre-line;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 1.6em), transparent);
  mask-image: linear-gradient(#000 calc(100% - 1.6em), transparent);
}
.mk.is-prompt .mk-steps {
  display: none;
}
.mk.is-prompt .mk-prompt-text {
  overflow: auto;
  padding-right: 10px;
  -webkit-mask-image: none;
  mask-image: none;
}
.mk-links {
  flex: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mk-links.is-one {
  grid-template-columns: 1fr;
}
.mk-links .info-link {
  min-height: 48px;
  padding: 6px 12px;
  font-size: 1rem;
  line-height: 1.15;
}
@media (max-width: 860px) {
  .lb.is-made[open] {
    grid-template-columns: minmax(0, 1fr);
  }
  .lb.is-made .mx-side {
    display: block;
    overflow: auto;
    padding: 8px 18px 24px;
  }
  .info.mk {
    display: block;
  }
  .info.mk > * + * {
    margin-top: 12px;
  }
  .mk .info-nums {
    flex-wrap: wrap;
  }
  .mk-prompt-text {
    max-height: 7em;
  }
  .mk.is-prompt .mk-prompt-text {
    max-height: 60dvh;
  }
  .mk.is-prompt .mk-steps {
    display: flex;
  }
}

/* The closed prompt shows four lines at most, the free height is shared between the blocks, the column is wider on large screens */
.lb.is-made[open] {
  grid-template-columns: minmax(0, 1fr) clamp(440px, 36vw, 700px);
}
.info.mk {
  justify-content: space-between;
}
.mk-prompt {
  flex: 0 1 auto;
  min-height: 0;
}
.mk-prompt-text {
  flex: 0 1 auto;
  min-height: 2.8em;
  max-height: 5.6em;
}
.mk.is-prompt .mk-prompt {
  flex: 1 1 0;
}
.mk.is-prompt .mk-prompt-text {
  flex: 1 1 0;
  max-height: none;
}
@media (max-height: 800px) and (min-width: 861px) {
  .mk-prompt-text {
    max-height: 2.8em;
  }
}
@media (max-width: 860px) {
  .lb.is-made[open] {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The column is back to its width from before the step view, the picture sits on the panel itself (no frame,
   no bars) and takes all the height left, the arrows moved to the row of step names */
.lb.is-made[open] {
  grid-template-columns: minmax(0, 1fr) clamp(330px, 27vw, 440px);
}
.lb.is-made .mx-side {
  padding: 12px 20px 16px;
}
.mk .info-kind {
  padding-right: 118px;
}
.mk .info-name {
  font-size: clamp(1.5rem, 1.9vw, 2.1rem);
}
.mk .info-nums {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 4px 14px;
  padding: 8px 0 0;
}
.mk .info-nums div {
  display: block;
}
.mk .info-nums dd {
  font-size: 1.45rem;
}
.mk .info-nums dt {
  margin-top: 3px;
  line-height: 1.2;
}
.mk-steps {
  flex: 1 1 0;
  gap: 4px;
}

.mk-links {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.mk-links .info-link {
  gap: 8px;
}
@media (max-width: 860px) {
  .lb.is-made[open] {
    grid-template-columns: minmax(0, 1fr);
  }
  .lb.is-made .mx-side {
    padding: 8px 18px 24px;
  }
  .mk-steps {
    display: flex;
  }
}

/* One media frame, the same on every asset. Arrows on its left and right edges, dots and one caption line
   under it, a step every 3 seconds. Fixed heights around it so the frame never changes size from one asset to the next. */
.mk .info-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mk-intro {
  min-height: calc(3 * 1.35em);
  align-content: start;
}
.mk .info-nums {
  min-height: 58px;
}
.mk-steps {
  flex: 0 1 auto;
  gap: 8px;
}

.mk-prompt-text {
  min-height: 0;
  height: 4.2em;
  max-height: none;
}
@media (min-height: 1000px) and (min-width: 861px) {
  .mk-prompt-text {
    height: 7em;
  }
}
@media (max-height: 800px) and (min-width: 861px) {
  .mk-prompt-text {
    height: 2.8em;
  }
  .mk-steps {
    gap: 4px;
  }
}
.mk.is-prompt .mk-prompt-text {
  height: auto;
}

@media (max-width: 860px) {
  .mk-prompt-text {
    height: auto;
    max-height: 7em;
  }
}

/* The column shows the render video with the names of its parts. Blocks follow each other from the top with one gap,
   only the closed prompt gives way when the height is short. */
.info.mk {
  justify-content: flex-start;
  gap: 12px;
}
.info.mk > * {
  flex-shrink: 0;
}
.mk-intro,
.mk .info-nums {
  min-height: 0;
}
.mk-steps {
  flex: none;
  gap: 8px;
}
.mk .info-h {
  margin: 0;
}
.mk .info-turn {
  cursor: auto;
}
.mk .passes {
  margin: 0;
}
.mk .passes li {
  padding: 0;
}
.mk .passes button {
  display: block;
  width: 100%;
  min-height: 36px;
  padding: 9px 6px 8px;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.mk .passes button:hover {
  color: var(--ink);
}
.info.mk > .mk-prompt {
  flex: 0 1 auto;
  min-height: 0;
}
.mk-prompt-text {
  flex: 0 1 auto;
  height: auto;
  min-height: 2.8em;
  max-height: 7em;
}
@media (max-height: 800px) and (min-width: 861px),
  (min-height: 1000px) and (min-width: 861px) {
  .mk-prompt-text {
    height: auto;
  }
}
.mk.is-prompt.info > .mk-prompt {
  flex: 1 1 0;
}
@media (max-width: 860px) {
  .mk-steps {
    display: flex;
  }
}

/* the render shown while the 3D file loads: the box takes the shape of the picture and its edges fade into the viewer, no rectangle */
.mx-3d {
  container-type: size;
}
.mx-3d > img {
  margin: auto;
  width: min(80cqw, 92cqh * 16 / 9);
  height: auto;
  aspect-ratio: 16 / 9;
  padding: 0;
  -webkit-mask-image: radial-gradient(
    ellipse closest-side,
    #000 55%,
    transparent 100%
  );
  mask-image: radial-gradient(ellipse closest-side, #000 55%, transparent 100%);
}

/* the large view of a level: how that site was made, rows of small pictures of one size */
.lv-made {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.lv-made .info-h {
  margin: 0;
}
.lv-row {
  display: grid;
  gap: 6px;
}
.lv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
}
.lv-head b {
  font-weight: 700;
  color: var(--ink);
}
.lv-head .model {
  flex: none;
}
.lv-pics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.lv-pic {
  display: block;
  aspect-ratio: 3 / 2;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: #04070d;
  overflow: hidden;
}
button.lv-pic {
  cursor: pointer;
}
button.lv-pic:hover {
  border-color: var(--amber);
}
.lv-pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lv-line {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--ink-2);
}
@media (max-height: 800px) and (min-width: 861px) {
  .lv-made {
    gap: 10px;
    margin-top: 10px;
  }
  .lv-row.is-sky {
    display: none;
  }
  .lv-made + .lb-play {
    margin-top: 12px;
  }
}
@media (max-height: 800px) and (min-width: 861px) {
  .mx-side:has(.lv-made) {
    padding-top: 10px;
    padding-bottom: 14px;
  }
  .mx-side:has(.lv-made) .mx-top {
    margin-bottom: 4px;
  }
  .lv-made {
    gap: 8px;
    margin-top: 8px;
  }
  .lv-row {
    gap: 4px;
  }
  .lv-pic {
    aspect-ratio: 2 / 1;
  }
}

/* the PDF in its large view: the pages one under the other, read by scrolling */
#pdf-view .pdfm-scroll {
  position: relative;
  display: block;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 16px 24px;
}
#pdf-view .pdfm-scroll img {
  display: block;
  width: min(100%, 1100px);
  height: auto;
  margin: 0 auto 12px;
  background: var(--panel);
}
#pdf-view .pdfm-scroll img:last-child {
  margin-bottom: 0;
}
#pdf-view .pdfm-scroll:focus-visible {
  outline: 0;
}
@media (max-width: 700px) {
  #pdf-view .pdfm-scroll {
    padding: 8px 0 16px;
  }
  #pdf-view .pdfm-scroll img {
    margin-bottom: 8px;
  }
}

/* "Full prompt" opens the prompt where it is. Nothing else in the column hides or moves; the column gets
   its own scroll, the links follow the prompt, the viewer on the left stays. "Hide prompt" folds it and goes back up. */
.info.mk.is-prompt {
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-right: -14px;
  padding-right: 14px;
}
.info.mk.is-prompt .mk-steps {
  display: flex;
}
.info.mk.is-prompt > .mk-prompt {
  flex: none;
}
.info.mk.is-prompt .mk-prompt-text {
  flex: none;
  height: auto;
  max-height: none;
  overflow: visible;
  padding-right: 0;
  -webkit-mask-image: none;
  mask-image: none;
}
.lb.is-made .mx-top {
  padding-left: 10px;
  background: var(--bg-2);
}

/* In a carousel tile the picture is flush with the top and filled by its subject, the label sits right
   under it with even padding and the tile ends under the label; the progress line is a thin dark line in the lit label */
.ht {
  padding: 0;
}
.ht img[src*='-hero.'] {
  transform-origin: 50% 58%;
  transform: scale(1.3);
  clip-path: inset(13.4% 11.54% 9.7% 11.54%);
}
.ht-t {
  padding: 7px 10px;
}
.ht-t b {
  margin-top: 0;
}
.ht[aria-selected='true']::after {
  height: 2px;
  background: #0a0e16;
}

/* On a level the large picture shows every picture of how it was made, one at a time; a small bar on
   it gives the place, what it is and, for a model, its 3D view. The levels are changed beside the counter. */
.lb-stage {
  position: relative;
}
.lb-stage > img.is-made {
  max-width: min(100%, 1100px);
  max-height: 78%;
  background: #04070d;
}
.lv-bar {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 200px);
  padding: 6px 8px 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(7, 10, 16, 0.86);
  font-size: 1rem;
  white-space: nowrap;
}
.lv-pos {
  color: var(--amber);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
}
.lv-cap {
  padding-right: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
}
.lv-3d {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--amber);
  border-radius: 999px;
  background: none;
  color: var(--amber);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.lv-3d:hover {
  background: var(--amber);
  color: var(--amber-ink);
}
.lv-pic[aria-current='true'] {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber);
}
.lv-nav {
  display: flex;
  gap: 4px;
  margin: 0 auto 0 10px;
}
.lv-nav[hidden] {
  display: none;
}
.lv-nav .ic {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
}
.lv-nav .ic svg {
  width: 14px;
  height: 14px;
}
@media (max-width: 860px) {
  .lv-bar {
    position: static;
    transform: none;
    max-width: 100%;
    margin: 8px auto 0;
    white-space: normal;
  }
}

/* The bottom row of the asset column is the model at full width, with the copy icon of the prompt on
   its left; it stays at the bottom while the open prompt scrolls above it. The prompt opens by a click on its text. */
.info.mk .mk-links {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: auto;
  background: var(--bg-2);
}
.info.mk.is-prompt .mk-links {
  padding-top: 10px;
  box-shadow: 0 16px 0 var(--bg-2);
}
.info.mk .mk-links .info-link {
  flex: 1;
  min-width: 0;
}
.mk-copy {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.mk-copy svg {
  width: 18px;
  height: 18px;
}
.mk-copy:hover,
.mk-copy.is-done {
  border-color: var(--amber);
  color: var(--amber);
}
.mk-copied {
  position: absolute;
  left: 0;
  bottom: calc(100% + 6px);
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--amber);
  color: var(--amber-ink);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}
.mk-prompt {
  position: relative;
}
.mk-prompt-text {
  cursor: pointer;
}
.mk-prompt-text:hover {
  color: var(--ink);
}
.mk-prompt-text:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
.mk-more {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding-left: 34px;
  background: linear-gradient(90deg, transparent, var(--bg-2) 30px);
  color: var(--amber);
  font-size: 0.86rem;
  line-height: 1.4rem;
  pointer-events: none;
}
.mk-more svg {
  width: 14px;
  height: 14px;
}
.info.mk.is-prompt .mk-more {
  top: 0;
  bottom: auto;
  padding-left: 0;
  background: none;
}

/* A link to a section lands on its heading, just under the two bars; Play and Method
   land on their main block (the script picks the target). One rule for all of them. */
.sec > .wrap > .sec-head,
.sec > .wrap > .sec-head ~ *,
.sec > .wrap ~ *,
.sec.end > .wrap {
  scroll-margin-top: -8px;
}

/* The closed prompt takes the height left above the model row, so more of it reads
   without opening. A prompt that shows whole has no mark and no fade. */
@media (min-width: 861px) {
  .info.mk:not(.is-prompt) > .mk-prompt {
    flex: 0 1 auto;
    min-height: 0;
  }
  .info.mk:not(.is-prompt) .mk-prompt-text {
    flex: 0 1 auto;
    height: auto;
    min-height: 2.8em;
    max-height: none;
  }
}
.mk-prompt.is-whole .mk-more {
  display: none;
}
.mk-prompt.is-whole .mk-prompt-text {
  cursor: default;
  -webkit-mask-image: none;
  mask-image: none;
}

/* The PDF view is as wide as its pages, centred on the dimmed page: no empty band left or right. The
   width also follows the height, so one page never stands taller than the view. Phones keep the full width. */
@media (min-width: 701px) {
  #pdf-view {
    width: min(100vw - 32px, 1180px, max(720px, (100dvh - 100px) * 1.477));
  }
  #pdf-view .pdfm-scroll {
    padding: 0;
  }
  #pdf-view .pdfm-scroll img {
    width: 100%;
    margin: 0 0 12px;
  }
  #pdf-view .pdfm-scroll img:last-child {
    margin-bottom: 0;
  }
}

/* An asset of the hero is its turning clip from the first paint. Nothing else is shown before it: the
   poster is frame 0 of the same clip, in the same box. On a desktop the clip is sized from the box its subject
   sweeps while turning (--bw, --bh, --cx, --by0 on the slide), so the subject fills the free area of the stage:
   right of the title, under the pills, above the name line. The edges of the frame fade out around the subject. */
.hx-stage {
  container-type: size;
}

/* A sheet of several pictures stays on the page as the overview, each tile is its own link;
   in the large view a picture is contained and fills the stage, above the bar that gives its place and what it is */
.zoom-set {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--panel);
}
.zoom-set > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zoom-cells {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(var(--zc), minmax(0, 1fr));
  grid-template-rows: repeat(var(--zr), minmax(0, 1fr));
}
.zoom.zoom-cell {
  background: none;
  overflow: visible;
}
.zoom.zoom-cell::after {
  display: none;
}
.zoom.zoom-cell:hover,
.zoom.zoom-cell:focus-visible {
  box-shadow: inset 0 0 0 2px var(--amber);
  outline: 0;
}
.lb-stage > img.is-pic {
  align-self: start;
  width: 100%;
  height: calc(100% - 58px);
  max-height: none;
  object-fit: contain;
}
@media (max-width: 860px) {
  .lb-stage > img.is-pic {
    height: auto;
    max-height: 100%;
  }
}

/* On a carousel step two subjects never show together. The entry that leaves goes out in 150 ms,
   then the next one comes in. */
.hero.hx .hs {
  transition: opacity 0.15s linear;
}
.hero.hx .hs.is-on {
  transition: opacity 0.15s linear 0.15s;
}

/* figure blocks: one grid for every block of figures (intro tiles, method steps, asset and level panels). Equal columns
   across the inner width, each figure left-aligned in its column, one fixed gap between a number and its label.
   The class is repeated to outrank the older local rules of each block. */
.fgrid.fgrid.fgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 5.25rem), 1fr));
  justify-content: stretch;
  align-items: start;
  gap: 14px 12px;
}
.fgrid.fgrid.fgrid > .fg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  max-width: none;
  margin: 0;
}
.fgrid.fgrid.fgrid > .fg > :first-child {
  margin: 0;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.fgrid.fgrid.fgrid > .fg > :last-child {
  margin: 0;
  line-height: 1.2;
  text-wrap: balance;
}
/* the intro tiles share their rows, so title, figures and link start at the same height in every tile of a row */
.pillars.p4 .pillar-figs {
  margin: 0;
  padding: 0;
}
@supports (grid-template-rows: subgrid) {
  .pillars.p4 .pillar {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 16px;
    align-content: start;
  }
  .pillars.p4 .pillar-go {
    margin-top: 2px;
    align-self: end;
  }
}

/* hero: the two files, as a quiet row under the buttons */
.hero-get {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.2;
}
.hero-get a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s;
}
.hero-get a .i {
  width: 17px;
  height: 17px;
}
.hero-get a:hover,
.hero-get a:focus-visible {
  color: var(--amber);
}
.hero-get a:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* weapons and machines: the selected tile keeps its name and kind and is marked by its border; the sentence of the
   selected one is a caption on the stage, in the corner the hero uses */
.arm-list button[aria-selected='true'] {
  background: none;
  border-color: var(--amber);
  box-shadow: inset 0 -3px 0 var(--amber);
  color: var(--ink-2);
}
.arm-list button[aria-selected='true'] b {
  color: var(--ink);
}
.arm-list span {
  font-size: 1rem;
  line-height: 1.25;
}
.arm-list.is-many {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.arm-view::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(to top, rgb(2 6 15 / 0.82), rgb(2 6 15 / 0));
  pointer-events: none;
}
.arm-cap {
  position: absolute;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(12px, 1.8vw, 22px);
  z-index: 2;
  display: grid;
  gap: 6px;
  justify-items: end;
  max-width: min(34em, 70%);
  margin: 0;
  text-align: right;
  pointer-events: none;
}
.arm-cap b {
  font: 800 clamp(1.5rem, 2.1vw, 2.1rem) / 1 var(--display);
  font-stretch: 78%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.arm-cap span {
  font-size: 1rem;
  line-height: 1.35;
  color: var(--ink-2);
}
.anchor-alias {
  display: block;
  height: 0;
}
@media (max-width: 700px) {
  .arm-list.is-many {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* phone: the caption sits under the stage, in a space kept for four lines */
  .arm-view {
    overflow: visible;
    margin-bottom: 112px;
  }
  .arm-view::after {
    content: none;
  }
  .arm-cap {
    top: calc(100% + 10px);
    right: 0;
    bottom: auto;
    left: 0;
    justify-items: start;
    max-width: none;
    text-align: left;
  }
  .arm-cap b {
    font-size: 1.25rem;
  }
}

/* the counted block: the breakdown is open, in four groups, one row per kind of job (number, what, who) */
.tally {
  margin-top: clamp(24px, 3vw, 36px);
}
.tally h3 {
  margin: 0 0 14px;
  font: 800 1.6rem/1 var(--display);
  font-stretch: 70%;
  text-transform: uppercase;
}
.tally-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 5vw, 72px);
}
.tally-g {
  padding: 14px 0 12px;
}
.tally-g:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}
.tally-g h4 {
  margin: 0 0 6px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.tally-g ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tally-g li {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  column-gap: 16px;
  align-items: baseline;
  min-height: 3.5rem;
  padding: 7px 0;
}
.tally-g li b {
  grid-row: 1 / 3;
  text-align: right;
  font: 800 1.9rem/1 var(--display);
  font-stretch: 68%;
  font-variant-numeric: tabular-nums;
}
.tally-what {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
}
.tally-by {
  display: flex;
  flex-wrap: wrap;
  gap: 0 14px;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--ink-2);
}
.tally-by a {
  color: var(--ink-2);
  text-decoration: none;
}
.tally-by a:hover,
.tally-by a:focus-visible {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tally-by i {
  font-style: normal;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}
@media (max-width: 760px) {
  .tally-cols {
    grid-template-columns: 1fr;
  }
  .tally-g + .tally-g {
    border-top: 1px solid var(--line);
  }
}

/* method cards stay whole at 1280x720 with the stacked figure */
.step-fig.fgrid {
  padding-top: 10px;
}
.steps .step-used {
  margin-bottom: 10px;
}

/* unit of a counted row, when the figures file gives one */
.tally-unit {
  margin-left: 6px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.62;
  white-space: nowrap;
}

/* A site entry of the hero plays a clip of that level, full bleed under the same shade; its sound sits
   behind a round button beside Play, crossed while muted */
.hs.is-cover.is-clip video {
  position: absolute;
  inset: 0;
  top: 0;
  right: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
}
.hq-snd {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(2, 6, 15, 0.45);
  color: var(--ink-2);
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.hq-snd:hover {
  color: var(--ink);
  border-color: var(--ink-2);
}
.hq-snd.is-on {
  color: #f2a73b;
  border-color: currentColor;
}
.hq-snd:focus-visible {
  outline: 2px solid #f2a73b;
  outline-offset: 2px;
}
.hq-snd svg {
  width: 15px;
  height: 15px;
}
.hq-snd[hidden] {
  display: none;
}
@media (max-width: 700px) {
  .hq-snd {
    width: 44px;
    height: 44px;
  }
  .hq-snd svg {
    width: 18px;
    height: 18px;
  }
}

/* The sound button of a site clip takes the height of the Play pill beside it; in the strip, a site
   opens its group with a little more room on its left */
.hq-snd {
  width: 40px;
  height: 40px;
}
.hq-snd svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 700px) {
  .hq-snd {
    width: 44px;
    height: 44px;
  }
}
.ht.is-site:not(:first-child) {
  margin-left: 12px;
}

/* In the counted block the models of a row are names only, one per line */
.tally-by {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 2px 0;
}

/* A render of set v2 is one shot framed for the stage, the asset in the right part of the picture.
   Full bleed like a site clip; on a narrow stage the crop follows the asset */
.hs.is-cover.is-clip.is-shot video {
  object-position: 72% 50%;
}

/* The spec text of a render shot. A shot frames its asset in the right part of the picture, so outside the hero
   the left part carries the model, then the faces, parts, materials and clips of the file. Small, no box: a short
   rule and the facts in the label face, sized from the width of the picture so they keep their place in full
   screen. The block keeps to the left of the picture, which no asset reaches. Its name line shows only where no
   title stands beside the video. */
.shot {
  position: relative;
  container-type: inline-size;
  background: #04070d;
}
.shot > video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
.arm-view,
.rig .clip-frame {
  container-type: inline-size;
}
.spec {
  position: absolute;
  top: 46%;
  left: clamp(8px, 2.6cqw, 48px);
  z-index: 2;
  display: grid;
  gap: clamp(5px, 0.7cqw, 12px);
  width: max-content;
  max-width: max(25cqw, 97px);
  margin: 0;
  transform: translateY(-50%);
  text-shadow:
    0 1px 2px rgb(2 6 15 / 0.9),
    0 0 14px rgb(2 6 15 / 0.75);
  pointer-events: none;
}
.spec[hidden] {
  display: none;
}
.spec::before {
  content: '';
  width: clamp(14px, 1.7cqw, 30px);
  height: 2px;
  background: var(--amber);
}
.spec-n {
  font: 800 clamp(0.9rem, 1.5cqw, 1.9rem) / 1.08 var(--display);
  font-stretch: 78%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.spec-l {
  display: grid;
  gap: clamp(2px, 0.35cqw, 6px);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(11px, 0.95cqw, 19px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink-2);
}
/* a title stands right beside these videos: the card, the edit, the caption of the stage */
.shot .spec-n,
.arm-view .spec-n {
  display: none;
}
.shot-full {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 32px;
  height: 32px;
  background: rgb(4 7 13 / 0.55);
}
.shot-full[hidden] {
  display: none;
}
.shot:fullscreen {
  background: #000;
}
.shot:fullscreen > video {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  object-fit: contain;
}
.shot:fullscreen .spec-n {
  display: block;
}
.arm-view:fullscreen video,
.arm-view:fullscreen img,
.clip-frame:fullscreen video {
  object-fit: contain;
}
.vidm-frame {
  width: min(100%, calc((100dvh - 170px) * 16 / 9));
}
/* a picture under 320 px wide cannot carry the text beside its asset at a readable size: the facts go under it */
@container (max-width: 319px) {
  .shot .spec {
    position: static;
    width: auto;
    max-width: none;
    padding: 8px 0 2px;
    transform: none;
    text-shadow: none;
  }
  .shot .spec::before {
    content: none;
  }
  .shot .spec-l {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.2em;
    letter-spacing: 0;
  }
}
/* phone: the stage is too small to carry the text beside its asset, so the facts go under the caption of the stage */
@media (max-width: 700px) {
  .arm-view {
    margin-bottom: 152px;
  }
  .arm-view .spec {
    top: calc(100% + 114px);
    right: 0;
    left: 0;
    width: auto;
    max-width: none;
    transform: none;
    text-shadow: none;
  }
  .arm-view .spec::before {
    content: none;
  }
  .arm-view .spec-l {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.2em;
    letter-spacing: 0;
  }
}
