/* Version 2: a continuous generated rinse, controlled frame by frame by scroll. */
.drive-intro { position: relative; background: #080b0e; color: #fff; }
.drive-stage { position: relative; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; }
.drive-media { position: absolute; inset: 0; z-index: -3; }
.drive-frame { position: absolute; inset: 0; overflow: hidden; }
.drive-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.drive-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.drive-canvas.is-ready { opacity: 1; }
.drive-frame--detail, .drive-frame--finish { opacity: 0; }
.drive-frame--detail img { object-position: 50% 66%; }
.drive-frame--finish img { object-position: 50% 60%; }
.drive-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#060b10ad 0%,#060b1070 32%,#060b101a 68%,#060b100d),linear-gradient(0deg,#060b10bd,transparent 55%); pointer-events: none; }
/* A light smoked layer quiets the footage without dimming the type or controls. */
.drive-shade::after { content: ''; position: absolute; inset: 0; background: rgb(4 8 12 / 18%); }
.drive-copy { position: absolute; inset: auto 0 145px; width: calc(100% - 100px); max-width: 1500px; margin: auto; }
.drive-captions { display: grid; max-width: 670px; }
.drive-caption { grid-area: 1 / 1; align-self: end; }
.drive-caption:not(:first-child) { opacity: 0; visibility: hidden; }
.drive-caption h1, .drive-caption .drive-title { font-size: clamp(64px,6.4vw,100px); font-weight: 450; letter-spacing: -.065em; line-height: .94; margin: 0; }
.drive-title > span, .drive-caption h1 > span { display: block; width: fit-content; color: #b8d8ec; background: linear-gradient(105deg,#f1f5f7 5%,#b9ccd7 38%,#218acb 90%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.drive-caption p:not(.drive-title) { margin-top: 24px; max-width: 330px; color: #c0cbd3; font-size: 14px; line-height: 1.65; }
.drive-actions { display: flex; align-items: center; gap: 27px; margin-top: 30px; }
.drive-actions .button { min-height: 47px; padding: 14px 23px; background: #eef3f6; color: #0b141a; border: 1px solid #eef3f6; font-size: 12px; }
.drive-actions .button:hover { background: #a6d4ee; border-color: #a6d4ee; }
.drive-actions .line-link { color: #d3dce1; font-size: 12px; }
/* A quiet, centred cue replaces the stage controls. */
.drive-scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); pointer-events: none; }
.drive-mouse { display: block; width: 22px; height: 36px; border: 1px solid #c6dce4a0; border-radius: 14px; }
.drive-mouse > span { display: block; width: 2px; height: 7px; margin: 7px auto 0; border-radius: 2px; background: linear-gradient(#edf5f8,#319cd5); animation: drive-scroll-wheel 1.9s ease-in-out infinite; }
@keyframes drive-scroll-wheel { 0%,100% { transform: translateY(0); opacity: .35; } 35% { opacity: 1; } 75% { transform: translateY(9px); opacity: 0; } }
.drive-progress { position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg,#d9e6ed,#278fce); }
.drive-intro.is-interactive { height: 260svh; }
.is-interactive .drive-stage { position: sticky; top: 0; }
.drive-intro + .services { position: relative; }
@media(max-width:980px) {
  .drive-copy { width: calc(100% - 60px); bottom: 150px; }
  .drive-shade { background: linear-gradient(90deg,#080b0eb3,transparent 90%),linear-gradient(0deg,#080b0ef2,transparent 80%); }
  .drive-caption h1, .drive-caption .drive-title { font-size: clamp(62px,9vw,86px); }
}
@media(max-width:700px) {
  .drive-stage { min-height: 640px; }
  .drive-intro.is-interactive { height: 245svh; }
  .drive-frame img { object-position: 86% 60%; }
  .drive-shade { background: linear-gradient(0deg,#080b0e 0%,#080b0edb 12%,#080b0e15 65%,#080b0e4d); }
  .drive-shade::after { background: rgb(4 8 12 / 10%); }
  .drive-copy { width: calc(100% - 40px); bottom: 128px; }
  .drive-caption h1, .drive-caption .drive-title { font-size: clamp(53px,13vw,76px); }
  .drive-caption p:not(.drive-title) { margin-top: 16px; font-size: 12px; max-width: 270px; }
  .drive-actions { gap: 21px; margin-top: 22px; }
  .drive-actions .button { padding-inline: 16px; font-size: 11px; }
  .drive-actions .line-link { font-size: 11px; }
}
@media(prefers-reduced-motion:reduce) {
  .drive-frame--wash { opacity: 0; }
  .drive-frame--finish { opacity: 1; }
  .drive-caption:first-child { opacity: 0; visibility: hidden; }
  .drive-caption:last-child { opacity: 1; visibility: visible; }
  .drive-mouse > span { animation: none; }
}
