/* Company only. It loads before the scene stylesheets, so a rule that changes a scene's own rule starts at
   .page-studio to outrank it. Tokens only. */

/* ---------- Hero: the cover line is a full sentence, so it takes the h1 size ---------- */
.page-studio .page-hero--company h1 { max-width: 22ch; font-size: var(--t-h1); line-height: var(--lh-h1); letter-spacing: var(--tr-h1); }

/* ---------- Our own game: the film on ink under the heading, then the rest on chalk ---------- */
.venator__band { padding-block: calc(var(--s-section) * .75); background: var(--instrument); color: var(--chalk); }
.venator__band .lead { color: var(--on-dark-2); }
.venator__main { padding-block: var(--s-section-half); }

/* The rail has six builds: the bridge's three, then the battlefield's three. The range's dot (16 px) sits under the
   centre of the first and last pictures: half a column in, less the strip's gaps and the dot's radius. */
@media (min-width: 640px) {
  .page-studio .tline:not(.is-live) .tline__stack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-studio .tline__strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .page-studio .tline__place:nth-child(2) { grid-column: 4 / span 3; }
  .page-studio .tline__controls .tline__range { --rail-in: calc((100% - 5 * var(--s-2)) / 12 - 8px); width: calc(100% - 2 * var(--rail-in)); margin-inline: var(--rail-in); }
}

/* Two pairs, side by side from 900 px */
@media (min-width: 900px) { .page-studio .ppairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* What players did: the slip and the line it proves */
.venator__donate { display: grid; gap: var(--s-6) var(--grid-gap); align-items: center; margin-top: var(--s-8); }
.venator__slip { justify-self: start; max-width: min(28rem, 92%); display: grid; gap: var(--s-3); padding: clamp(20px, 2.4vw, 32px); rotate: -1.5deg; }
.venator__slip-quote { margin: 0; font-family: var(--font-display); font-size: var(--t-h3); line-height: var(--lh-h3); letter-spacing: var(--tr-h3); font-weight: var(--wght-heading); font-stretch: var(--wdth-heading); text-wrap: pretty; }
.venator__slip-cite { color: var(--ink-3); font-size: var(--t-small); line-height: var(--lh-small); text-wrap: pretty; }
.venator__said { max-width: 22ch; font-family: var(--font-display); font-size: var(--t-h2); line-height: var(--lh-h2); letter-spacing: var(--tr-h2); font-weight: var(--wght-heading); font-stretch: var(--wdth-heading); text-wrap: balance; }
@media (min-width: 900px) {
  .venator__donate { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .venator__slip { grid-column: 1 / span 5; }
  .venator__said { grid-column: 7 / span 6; }
}

/* The testers' own words, then the second tester's story and the wars */
.venator__voices { display: grid; gap: var(--s-6) var(--grid-gap); align-items: center; margin-top: var(--s-8); }
.venator__aside { display: grid; gap: var(--s-5); align-content: start; }
.venator__story { max-width: 46ch; color: var(--ink-2); }
.venator__count { max-width: 26ch; font-family: var(--font-display); font-size: var(--t-h3); line-height: var(--lh-h3); letter-spacing: var(--tr-h3); font-weight: var(--wght-heading); font-stretch: var(--wdth-heading); text-wrap: balance; }
@media (min-width: 900px) {
  .venator__voices { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .venator__testers { grid-column: 1 / span 7; }
  .venator__aside { grid-column: 9 / span 4; }
}

/* The fleets question and its answer */
.venator__fleets { margin-top: var(--s-8); }
.page-studio .venator__fleets .venator__line { margin-top: 0; }

/* Three of Roblox's zeros, in our game: Roblox's grade on ink, ours beside it */
.venator__zeros { display: grid; gap: var(--s-6) var(--grid-gap); align-items: start; margin-top: var(--s-8); }
.venator__zeros-lead { max-width: 36rem; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-md); background: var(--instrument); color: var(--chalk); font-family: var(--font-display); font-size: var(--t-h3); line-height: var(--lh-h3); letter-spacing: var(--tr-h3); font-weight: var(--wght-heading); font-stretch: var(--wdth-heading); text-wrap: pretty; }
@media (min-width: 900px) {
  .venator__zeros { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .venator__zeros-lead { grid-column: 1 / span 5; max-width: none; font-size: var(--t-h2); line-height: var(--lh-h2); letter-spacing: var(--tr-h2); }
  .venator__zeros-ours { grid-column: 7 / span 6; }
  .page-studio .venator__zeros .thesis__grid { grid-template-columns: none; }
}

/* The course line closes the game and hands over to the founder */
.venator__end { display: grid; justify-items: start; gap: var(--s-4); margin-top: var(--s-8); }
.venator__course { max-width: 34ch; font-family: var(--font-display); font-size: var(--t-h3); line-height: var(--lh-h3); letter-spacing: var(--tr-h3); font-weight: var(--wght-heading); font-stretch: var(--wdth-heading); text-wrap: balance; }
.page-studio .venator__end .venator__clips { margin-top: 0; }

@media (forced-colors: active) {
  .venator__band, .venator__zeros-lead { border: 1px solid CanvasText; }
}
@media print {
  .venator__band, .venator__zeros-lead { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .venator__slip { rotate: none; }
}
