/* Presentations page */
.px-hero { height: 270vh; position: relative; }
.px-hero-pin { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(16px, 3vw, 48px); align-items: center; }
.px-hero h1 { font-size: clamp(2.4rem, 4.2vw, 3.8rem); margin-bottom: 22px; max-width: 13ch; }
.px-hero .lede { margin-bottom: 30px; }
.px-hero-stage { aspect-ratio: 5 / 4; max-height: calc(100svh - var(--nav-h) - 40px); margin-right: clamp(-90px, -5vw, 0px); }
.px-progress { margin-top: 36px; display: grid; gap: 10px; max-width: 280px; font-size: .92rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.px-progress b { color: var(--ink); font-weight: 600; }
.px-bar { height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; display: block; }
.px-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

.px-from { padding-top: clamp(8px, 2vw, 24px); }
.px-from-stage, .px-latest-stage { aspect-ratio: 5 / 4; max-height: 620px; }
.px-from h2, .px-latest h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.px-latest { margin-top: 0; }
.px-demo { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.px-live { margin: 0; font-size: .95rem; color: var(--ink-2); min-height: 1.6em; max-width: 30ch; }
.row-copy .px-demo + .ticks { margin-top: 28px; }

.px-works { padding: clamp(56px, 8vw, 110px) 0 0; }
.px-works-line { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 600; max-width: 24ch; color: var(--muted); }
.px-works-line a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--brand); transition: color .25s; }
.px-works-line a:hover { color: var(--brand); }
.px-works-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.px-works-stage { aspect-ratio: 5 / 4; max-height: 480px; }
@media (max-width: 980px) { .px-works-grid { grid-template-columns: 1fr; } }
.px-works p { margin-top: 18px; color: var(--ink-2); }

@media (min-width: 981px) {
  .px-latest .row { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); }
  .px-from .row.flip { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); padding-block: 24px; }
  .px-from-stage { max-height: min(620px, calc(100svh - var(--nav-h) - 88px)); }
}
@media (max-width: 980px) {
  .px-hero { height: auto; }
  .px-hero-pin { position: static; height: auto; grid-template-columns: 1fr; padding-top: clamp(28px, 6vw, 56px); }
  .px-hero-stage { aspect-ratio: 6 / 5; height: auto; margin-right: 0; }
  .px-progress { margin-top: 24px; }
  .px-from-stage, .px-latest-stage { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .px-hero { height: auto; }
  .px-hero-pin { position: static; height: auto; padding: 48px 0; }
  .px-hero-stage { height: auto; aspect-ratio: 16 / 10; }
  .px-progress { display: none; }
}

/* no tinted bands behind the 3D scenes */
.section.soft.px-latest { background: #fff; }
