html, body { overflow-x: clip; }

.progress { position: fixed; inset: 0 0 auto; z-index: 40; height: 3px; background: var(--sand); transform: scaleX(0); transform-origin: left; pointer-events: none; }

[data-rotate] { white-space: nowrap; }
.roles-head h2 em { display: inline-block; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Kinetic band */
.band { overflow: hidden; padding: clamp(1.5rem, 4vw, 3.5rem) 0; transform: rotate(-2deg) scale(1.03); background: var(--paper); color: var(--ink); }
.band p { width: max-content; white-space: nowrap; font: 300 clamp(3rem, 9vw, 8.5rem)/1.08 var(--display); letter-spacing: -.025em; will-change: transform; }
.band p:nth-child(2) { font-style: italic; color: var(--wine); }
.band + .profile { margin-top: -2rem; padding-top: calc(var(--section) + 2rem); }

/* Masked headlines */
.mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .06em .14em; margin: 0 -.06em -.14em; }
.mask > span { display: inline-block; transform: translateY(115%) rotate(4deg); transform-origin: left; transition: transform 1.1s var(--ease); }
.split.risen .mask > span { transform: none; }

.motion .lit-word { opacity: .14; transition: opacity .35s; }
.motion .lit-word.lit { opacity: 1; }

/* Horizontal venture scene */
.v-bar { display: none; }
.v-pin.horizontal .v-stage { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 3.5rem; }
.v-pin.horizontal .head { width: 100%; max-width: 1440px; margin: 0 auto clamp(1.5rem, 4vh, 3rem); padding: 0 var(--pad); }
.v-pin.horizontal .head h2 { font-size: clamp(2.4rem, 7vh, 5rem); }
.v-pin.horizontal ul { display: flex; width: max-content; gap: clamp(2rem, 4vw, 4rem); padding: 0 var(--pad); will-change: transform; }
.v-pin.horizontal li { flex: none; width: min(48vw, 90vh, 700px); }
.v-pin.horizontal .v-img { height: 42vh; }
.v-pin.horizontal .v-bar { display: block; height: 2px; margin: clamp(1.5rem, 4vh, 2.5rem) var(--pad) 0; background: var(--line); }
.v-bar i { display: block; height: 100%; background: var(--sand); transform: scaleX(0); transform-origin: left; }
.ventures:has(.horizontal) { max-width: none; padding-left: 0; padding-right: 0; }

/* Pointer effects */
.peek { position: fixed; left: 0; top: 0; z-index: 25; width: 12.5rem; aspect-ratio: 4 / 5; overflow: hidden; pointer-events: none; opacity: 0; scale: .8; rotate: -5deg; transition: opacity .35s, scale .5s var(--ease), rotate .5s var(--ease), translate .25s ease-out; }
.peek.on { opacity: 1; scale: 1; rotate: 3deg; }
.peek img { width: 100%; height: 100%; object-fit: cover; }
.tilt { transition: transform .35s ease-out, box-shadow .35s; }
.tilt:hover { box-shadow: 0 2.5rem 3.5rem -1.5rem rgba(0, 0, 0, .75); }
.feature figure.tilt:hover img { transform: scale(1.05); }
.motion .btn, .motion .nav-cta { transition: translate .25s ease-out, background-color .35s, color .35s, border-color .35s; }

.engage[open] form > * { animation: rise .7s var(--ease) both; }
.engage form > :nth-child(2) { animation-delay: .05s; }
.engage form > :nth-child(3) { animation-delay: .1s; }
.engage form > :nth-child(4) { animation-delay: .15s; }
.engage form > :nth-child(5) { animation-delay: .2s; }
.engage form > :nth-child(n+6) { animation-delay: .25s; }

@media (max-width: 1040px) { .peek { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .progress, .peek { display: none; }
}
