/* base.css – shared by all variants: font, reset, media defaults */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}

.logo { display: inline-block; vertical-align: middle; width: auto; margin: 0 0.1em; }
.logo-link { text-decoration: none; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---- text selection: inverted – dark text gets a white highlight, light text a black one.
   Variants with light-on-dark areas override this per element in their own stylesheet. ---- */
::selection { background: #fff; color: #000; }

