/* Reset + shared pieces. Visual styling lives in style.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
:root { --abar-h: 40px; }
body { margin: 0; overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; }

.abar { position: relative; z-index: 50; min-height: var(--abar-h); display: flex; align-items: center; justify-content: center; padding: 8px 44px; text-align: center; font-size: 13px; line-height: 1.3; }
.abar a { text-decoration: none; }
.abar a:hover { text-decoration: underline; }
.abar__close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; font-size: 20px; line-height: 1; }

.placeholder-tag { position: absolute; z-index: 3; font: 500 10px/1 ui-monospace, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; padding: 6px 8px; background: rgba(0,0,0,.55); color: #fff; pointer-events: none; }

video.is-failed { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

[tabindex="-1"]:focus { outline: none; }
