*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.is-locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent, currentColor); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.line { padding-bottom: .06em; }

.vs-cursor { position: fixed; left: 0; top: 0; z-index: 9998; pointer-events: none; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent); opacity: 0; transition: width .35s, height .35s, margin .35s, opacity .3s, background-color .3s; display: grid; place-items: center; mix-blend-mode: var(--cursor-blend, normal); }
.vs-cursor.is-on { opacity: 1; }
.vs-cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: transparent; border: 1px solid var(--accent); }
.vs-cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--accent); border: 0; }
.vs-cursor span { font-size: 13px; font-weight: 600; color: var(--cursor-ink, #000); opacity: 0; transition: opacity .2s; }
.vs-cursor.is-label span { opacity: 1; }

.vs-lb { position: fixed; inset: 0; z-index: 9999; background: var(--lb-bg, rgba(0, 0, 0, .94)); color: #fff; display: grid; grid-template-rows: 1fr auto; padding: 64px clamp(12px, 6vw, 96px) 20px; }
.vs-lb[hidden] { display: none; }
.vs-lb-stage { display: grid; place-items: center; min-height: 0; }
.vs-lb-stage img, .vs-lb-stage video { max-width: 100%; max-height: calc(100svh - 150px); object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.vs-lb-cap { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.vs-lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .4); color: #fff; font-size: 18px; display: grid; place-items: center; transition: background .2s; }
.vs-lb-btn:hover { background: rgba(255, 255, 255, .15); }
.vs-lb-close { top: 12px; right: 12px; }
.vs-lb-prev { left: 12px; top: 50%; }
.vs-lb-next { right: 12px; top: 50%; }
@media (max-width: 640px) { .vs-lb-prev, .vs-lb-next { top: auto; bottom: 56px; } }

.vs-grain { position: fixed; inset: -50%; z-index: 9990; pointer-events: none; opacity: var(--grain, .07); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: vs-grain 1s steps(6) infinite; }
@keyframes vs-grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -7%); } 60% { transform: translate(-3%, 8%); } 80% { transform: translate(7%, 2%); } 100% { transform: translate(-2%, -5%); } }

@media (prefers-reduced-motion: reduce) {
  .vs-grain { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
