/* shared base for the SSC TV design set */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.swi { display: inline-block; will-change: transform; }
.scw { display: inline; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 999; padding: 12px 18px; border-radius: 999px; background: #fff; color: #000; transform: translateY(-200%); }
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.grain::after { content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,3%)} 80%{transform:translate(3%,1%)} 100%{transform:translate(0,0)} }
.hover-float { position: fixed; left: 0; top: 0; z-index: 80; width: 280px; aspect-ratio: 4 / 5; margin: -170px 0 0 -140px; pointer-events: none; opacity: 0; transform: scale(.85); border-radius: 14px; overflow: hidden; }
.hover-float img { width: 100%; height: 100%; object-fit: cover; }
.marquee { display: flex; overflow: hidden; user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__g { flex: none; display: flex; align-items: center; animation: mq 36s linear infinite; }
@keyframes mq { to { transform: translateX(-100%); } }
.menu { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 96px max(24px, env(safe-area-inset-left)) 48px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.menu-open .menu { opacity: 1; visibility: visible; }
.menu a { text-decoration: none; font-size: clamp(36px, 9vw, 64px); line-height: 1.1; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 999px; background: transparent; color: inherit; position: relative; z-index: 70; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; transition: transform .4s; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); } .menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 860px) { .burger { display: block; } .nav .links { display: none !important; } }
form [aria-invalid] { border-color: #e0261c !important; }
.wa { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 50; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .3s; }
.wa:hover { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .marquee__g, .grain::after { animation: none; } }
