/* The Venator film band, its numbers, the winch on its island and the pull quote. Tokens only. */
/* The caption under the stage clears the dark band below it. */
.hero--home { padding-bottom: clamp(40px, 6vw, 80px); }

/* ---------- Home band ---------- */
.proof { padding-block: var(--s-section); background: var(--instrument); color: var(--chalk); }
.proof__head { display: grid; justify-items: start; gap: var(--s-4); margin-bottom: var(--s-head); }
.proof__title { font-size: min(var(--t-h1), 8.4vw); line-height: var(--lh-h1); letter-spacing: var(--tr-h1); font-weight: var(--wght-heading); font-stretch: var(--wdth-heading); color: var(--chalk); }
.proof__lead { display: grid; gap: var(--s-3); max-width: 58ch; color: var(--on-dark-2); font-size: var(--t-lead); line-height: var(--lh-lead); letter-spacing: var(--tr-lead); }
.proof__lead p { margin: 0; }
.proof__foot { display: grid; gap: var(--s-4); align-items: end; margin-top: var(--s-6); }
.proof__note { max-width: 46ch; color: var(--on-dark-2); }
.proof__links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); }
.proof .link-arrow { color: var(--chalk); }
@media (min-width: 900px) {
  .proof__head { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 1fr auto; column-gap: var(--grid-gap); row-gap: var(--s-4); align-items: end; }
  .proof__chip { grid-column: 1 / span 7; grid-row: 1; }
  .proof__title { grid-column: 1 / span 7; grid-row: 2; }
  .proof__lead { grid-column: 8 / span 5; grid-row: 1 / span 2; }
  .proof__foot { grid-template-columns: minmax(0, 1fr) auto; }
}

/* Company: the same film in a bare band, with no heading of its own */
.proof--band { padding-block: var(--s-section-half); }
.proof__band-head { margin-bottom: var(--s-4); }

/* The film */
.pfilm { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--s-3); }
.pfilm__frame { grid-column: 1 / -1; position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--ink); aspect-ratio: 1280 / 582; isolation: isolate; }
.pfilm__poster, .pfilm__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pfilm__video { opacity: 0; transition: opacity var(--d-move) var(--e-glide); }
.pfilm.is-playing .pfilm__video { opacity: 1; }
.pfilm__caption { grid-row: 3; grid-column: 1 / -1; max-width: 72ch; margin-top: var(--s-2); color: var(--on-dark-2); font-size: var(--t-small); line-height: var(--lh-small); }
/* The cues: a plain list without JS or with reduced motion, and one row at a time while the film plays. Every row keeps its
   place in the same grid cell, so the page never moves when the line changes. */
.pfilm__cues { grid-row: 2; grid-column: 1; list-style: none; margin: var(--s-3) 0 0; padding: 0; display: grid; gap: var(--s-2); min-width: 0; color: var(--chalk); }
.pfilm__note { color: var(--on-dark-2); }
.pfilm__line { font-weight: 500; }
.pfilm__cue { text-wrap: pretty; }
.pfilm.is-cued .pfilm__cue { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity var(--d-roll) var(--e-glide), visibility 0s linear var(--d-roll); }
.pfilm.is-cued .pfilm__cue.is-on { opacity: 1; visibility: visible; transition: opacity var(--d-roll) var(--e-glide); }
.pfilm__toggle { grid-row: 2; grid-column: 2; align-self: start; display: grid; place-items: center; width: 40px; height: 40px; margin-top: var(--s-3); border: 0; border-radius: var(--r-round); background: var(--instrument-raised); color: var(--chalk); cursor: pointer; transition: background var(--d-quick) var(--e-glide); }
.pfilm__toggle:hover { background: color-mix(in srgb, var(--chalk) 18%, var(--instrument-raised)); }
.pfilm__toggle .glyph { width: 16px; height: 16px; }
.pfilm__toggle[data-state="paused"] [data-icon="pause"], .pfilm__toggle:not([data-state="paused"]) [data-icon="play"] { display: none; }
@media (max-width: 639px) { .pfilm__frame { aspect-ratio: 16 / 10; } }
@media (max-width: 767.98px) {
  .pfilm__caption, .pfilm__cues { margin-left: calc(var(--gutter) - var(--stage-inset)); }
  .pfilm__toggle { margin-right: calc(var(--gutter) - var(--stage-inset)); }
}

/* A note row's loop: the same film parts on the page's light ground */
.pfilm--row .pfilm__frame { grid-row: 1; aspect-ratio: 2.05; border-radius: var(--r-md); }
.pfilm--row .pfilm__toggle { grid-row: 1; grid-column: 2; align-self: end; margin: 0 var(--s-2) var(--s-2) 0; background: color-mix(in srgb, var(--instrument) 78%, transparent); z-index: 1; }

/* One real improvement, two frames at one width */
.ppair { margin: 0; }
.ppair__frames { display: grid; gap: var(--s-2); }
.ppair__side { position: relative; overflow: hidden; border-radius: var(--r-sm); background: var(--instrument-raised); aspect-ratio: 1120 / 547; }
.ppair__side img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ppair__tag { position: absolute; left: var(--s-2); top: var(--s-2); padding: 2px var(--s-2); border-radius: var(--r-xs); background: color-mix(in srgb, var(--instrument) 78%, transparent); color: var(--chalk); }
.ppair__tag--after { background: var(--chalk); color: var(--ink); }
.ppair__caption { margin-top: var(--s-3); color: var(--ink-2); font-size: var(--t-small); line-height: var(--lh-small); max-width: 56ch; text-wrap: pretty; }
.on-ink .ppair__caption { color: var(--on-dark-2); }
.ppair--wide { margin-top: var(--s-7); }
@media (min-width: 640px) { .ppair--wide .ppair__frames { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Numbers */
.pstats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--grid-gap); margin: var(--s-6) 0 0; }
@media (min-width: 900px) { .pstats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pstat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--s-2); padding-top: var(--s-3); border-top: 1px solid var(--dark-line-active); }
.pstat__n { margin: 0; font-family: var(--font-display); font-size: clamp(2.25rem, 1.65rem + 2.4vw, 3.75rem); line-height: 1; letter-spacing: var(--tr-h1); font-weight: var(--wght-display); font-stretch: var(--wdth-display); color: var(--chalk); font-variant-numeric: tabular-nums; }
.pstat__label { color: var(--on-dark-2); font-size: var(--t-small); line-height: var(--lh-small); max-width: 26ch; }
.pstats--light .pstat { border-top-color: var(--line-strong); }
.pstats--light .pstat__n { color: var(--ink); }
.pstats--light .pstat__label { color: var(--ink-2); }

/* ---------- Home: over time, your next update starts from all we've learned ----------
   The heading runs across the top in two balanced lines, then the lead sits beside the crane island. */
.compound__grid { display: grid; gap: var(--s-5); align-items: center; }
.compound__copy { display: contents; }
.compound__copy > h2 { order: 1; max-width: 22em; text-wrap: balance; }
.compound__copy > .lead { order: 2; max-width: 46ch; }
.compound__art { order: 3; margin: 0; }
.compound__note { order: 5; max-width: 50ch; color: var(--ink-2); }
@media (min-width: 1024px) {
  .compound__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); row-gap: 0; }
  .compound__copy > h2 { grid-column: 1 / -1; grid-row: 1; }
  .compound__copy > .lead { grid-column: 1 / span 6; grid-row: 2; align-self: start; margin-top: var(--s-5); }
  .compound__art { grid-column: 7 / span 6; grid-row: 2; margin-block: calc(var(--s-5) * -1) calc(var(--s-6) * -1); }
}
.compound__art img { display: block; width: 100%; height: auto; }
.js[data-motion="full"] .compound__art.is-in img { animation: island-float 6.5s var(--e-glide) infinite alternate; }
@keyframes island-float { from { transform: translateY(-6px); } to { transform: translateY(6px); } }

/* ---------- Router strip above the header ---------- */
/* The open menu starts right under the header, so the strip steps aside and the header sits at the top. */

/* ---------- Pull quote on home ---------- */
.pull { margin-top: var(--s-section-half); }
.pull__quote { margin: 0; max-width: 38ch; text-wrap: pretty; font-family: var(--font-display); font-size: var(--t-h2); line-height: 1.14; letter-spacing: var(--tr-h2); font-weight: var(--wght-heading); font-stretch: var(--wdth-heading); }
.pull__cite { margin-top: var(--s-4); color: var(--ink-2); font-size: var(--t-small); line-height: var(--lh-small); max-width: 52ch; }
.pull__after { margin-top: var(--s-3); color: var(--ink); max-width: 52ch; }
