/* White gallery; all rules stay inside the video examples component. */
#video-examples {
  --vd-example-surface: #f4f4f3;
  --vd-example-radius: 16px;
  --vd-example-width: min(1067px, calc(100vw - 160px));
  --vd-example-gap: clamp(16px, 3vw, 60px);
  --vd-example-motion-duration: 650ms;
  --vd-example-motion-easing: cubic-bezier(.22, 1, .36, 1);
  --vd-example-prompt-surface: rgba(20, 20, 24, .7);
  --vd-example-prompt-text: #fff;
  --vd-example-prompt-border: rgba(255, 255, 255, .25);
  --vd-example-label-surface: rgba(255, 255, 255, .2);
  --vd-example-label-border: rgba(255, 255, 255, .4);
  --vd-example-label-text: #fff;
  --vd-example-label-blur: 12px;
  padding: 80px 0;
  background: #fff;
}
#video-examples .vd-heading { max-width: 900px; margin-inline: auto; text-align: center; }
#video-examples .vd-heading h2 { max-width: none; }
#video-examples .vd-heading > p { margin-inline: auto; }
#video-examples .vd-examples-carousel { margin-top: 64px; overflow: hidden; }
/* Inner projected edge = scaled half-width * cos(angle) / (1 - depth / perspective).
   Derive the side offset from that edge so the gap survives angle and viewport changes. */
#video-examples .vd-examples-stage { --vd-example-stage-width: 100vw; --vd-example-side-inner-extent: calc(var(--vd-example-width) * var(--vd-example-side-scale) * cos(var(--vd-example-side-angle)) / 2 / (1 - var(--vd-example-side-scale) * sin(var(--vd-example-side-angle)) / 3.5)); --vd-example-side-distance: calc(var(--vd-example-width) / 2 + var(--vd-example-gap) + var(--vd-example-side-inner-extent)); --vd-example-perspective: calc(var(--vd-example-width) * 1.75); --vd-example-side-angle: 45deg; --vd-example-side-scale: .79; position: relative; width: 100%; height: calc(var(--vd-example-width) * 600 / 1067); margin-inline: auto; touch-action: pan-y; }
#video-examples .vd-example-card { position: absolute; top: 0; left: 50%; width: var(--vd-example-width); aspect-ratio: 1067 / 600; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: var(--vd-example-radius); background: var(--vd-example-surface); color: var(--ink); text-align: left; backface-visibility: hidden; transform: translate3d(-50%, 0, 0) translate3d(0, 0, 0) perspective(var(--vd-example-perspective)) rotateY(0deg) scale(1); opacity: 1; transition: transform var(--vd-example-motion-duration) var(--vd-example-motion-easing), opacity var(--vd-example-motion-duration) var(--vd-example-motion-easing); }
#video-examples .vd-example-card[data-position="active"] { z-index: 2; }
#video-examples .vd-example-card[data-position="previous"] { transform: translate3d(-50%, 0, 0) translate3d(calc(0px - var(--vd-example-side-distance)), 0, 0) perspective(var(--vd-example-perspective)) rotateY(calc(0deg - var(--vd-example-side-angle))) scale(var(--vd-example-side-scale)); }
#video-examples .vd-example-card[data-position="next"] { transform: translate3d(-50%, 0, 0) translate3d(var(--vd-example-side-distance), 0, 0) perspective(var(--vd-example-perspective)) rotateY(var(--vd-example-side-angle)) scale(var(--vd-example-side-scale)); }
#video-examples .vd-example-card[data-position="before"] { transform: translate3d(-50%, 0, 0) translate3d(calc(var(--vd-example-side-distance) * -1.8), 0, 0) perspective(var(--vd-example-perspective)) rotateY(calc(0deg - var(--vd-example-side-angle))) scale(.65); opacity: 0; pointer-events: none; }
#video-examples .vd-example-card[data-position="after"] { transform: translate3d(-50%, 0, 0) translate3d(calc(var(--vd-example-side-distance) * 1.8), 0, 0) perspective(var(--vd-example-perspective)) rotateY(var(--vd-example-side-angle)) scale(.65); opacity: 0; pointer-events: none; }
#video-examples [hidden] { display: none !important; }
#video-examples .vd-example-card video { display: block; width: 100%; height: 100%; object-fit: cover; }
#video-examples .vd-example-card video { pointer-events: none; user-select: none; }
#video-examples .vd-example-label, #video-examples .vd-example-error { position: absolute; left: 20px; z-index: 1; max-width: calc(100% - 40px); padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.94); font-size: 13px; font-weight: 500; line-height: 1.4; }
#video-examples .vd-example-label {
  top: 20px;
  border-color: var(--vd-example-label-border);
  background: var(--vd-example-label-surface);
  color: var(--vd-example-label-text);
  -webkit-backdrop-filter: blur(var(--vd-example-label-blur));
  backdrop-filter: blur(var(--vd-example-label-blur));
  text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
#video-examples .vd-example-error { bottom: 20px; color: var(--muted); font-size: 12px; font-weight: 400; }
#video-examples :is(button,a):focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
#video-examples .vd-example-select:focus-visible { outline-offset: -5px; }
/* Display-only sample copy overlays the video without intercepting navigation. */
#video-examples .vd-example-select { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: inherit; background: transparent; }
#video-examples .vd-example-prompt { position: absolute; z-index: 3; left: 50%; bottom: 32px; width: min(520px, calc(100% - 64px)); padding: 16px 18px; transform: translateX(-50%); border: 1px solid var(--vd-example-prompt-border); border-radius: 24px; background: var(--vd-example-prompt-surface); color: var(--vd-example-prompt-text); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 8px 32px rgba(0, 0, 0, .12); pointer-events: none; }
#video-examples .vd-example-card:not([data-position="active"]) .vd-example-prompt { visibility: hidden; pointer-events: none; }
#video-examples .vd-example-prompt-description { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#video-examples .vd-example-prompt-copy { display: block; min-height: 64px; margin: 0; padding: 0; color: var(--vd-example-prompt-text); font-size: 16px; font-weight: 400; line-height: 1.5; text-align: start; }
#video-examples .vd-example-typewriter { white-space: pre-wrap; overflow-wrap: anywhere; }
#video-examples .vd-example-typewriter::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 3px; background: currentColor; vertical-align: -.12em; }
#video-examples .vd-example-card[data-position="active"] .vd-example-typewriter::after { animation: vd-example-caret 900ms step-end infinite; }
@keyframes vd-example-caret { 0%, 45% { opacity: 1; } 50%, 100% { opacity: 0; } }
#video-examples .vd-examples-controls { display: flex; align-items: center; justify-content: center; width: fit-content; max-width: calc(100% - 40px); margin: 24px auto 0; padding: 4px; border-radius: 999px; background: var(--soft); }
#video-examples :is(.vd-example-arrow,.vd-example-dot) { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); }
#video-examples .vd-example-arrow { background: #fff; }
#video-examples .vd-example-arrow:hover { background: var(--line); }
#video-examples .vd-example-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#video-examples .vd-example-arrow--next svg { transform: rotate(180deg); }
#video-examples .vd-example-dots { display: flex; align-items: center; gap: 12px; margin-inline: 16px; }
#video-examples .vd-example-dot { position: relative; flex: 0 0 auto; width: 6px; overflow: visible; transition: width 350ms var(--vd-example-motion-easing); }
#video-examples .vd-example-dot::before { content: ""; position: absolute; inset: 0 -6px; }
#video-examples .vd-example-dot[aria-current="true"] { width: 24px; }
#video-examples .vd-example-dot span { width: 6px; height: 6px; border-radius: 999px; background: var(--muted); transition: width 350ms var(--vd-example-motion-easing), background-color 350ms ease; }
#video-examples .vd-example-dot[aria-current="true"] span { width: 24px; background: var(--ink); }
#video-examples .vd-example-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; font-size: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 920px) {
  #video-examples .vd-examples-carousel { margin-top: 32px; }
  #video-examples { --vd-example-width: 78vw; }
  #video-examples .vd-examples-stage { --vd-example-side-scale: .86; }
}
@media (max-width: 620px) {
  #video-examples .vd-example-dots { display: none; }
  #video-examples .vd-example-count { position: static; width: 88px; height: auto; clip-path: none; text-align: center; }
  #video-examples .vd-example-label { top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 5px 10px; font-size: 12px; }
  #video-examples .vd-example-error { bottom: 12px; left: 12px; max-width: calc(100% - 24px); padding: 5px 10px; }
  #video-examples .vd-example-prompt { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #video-examples :is(.vd-example-card,.vd-example-dot,.vd-example-dot span) { transition: none; }
  #video-examples .vd-example-card[data-position="active"] .vd-example-typewriter::after { animation: none; }
}
