/* ==========================================================================
   Cameo Cinema — BASE
   ========================================================================== */

/* Inter: body / UI | Bebas Neue: cinematic headings */
@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300..900&family=Bebas+Neue&display=swap");

/* ---- Reset ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

:where(h1, h2, h3, h4, p) {
  margin: 0;
}

/* ---- Document --------------------------------------------------------- */
html {
  background: var(--void);
  color: var(--text);
}

body {
  background: var(--void);
  color: var(--text);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  font-weight: 350;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

/* Cinematic glow layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--g-voidglow);
  pointer-events: none;
  z-index: -1;
}

/* ---- Headings --------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: "Bebas Neue", sans-serif;
  color: var(--text-strong);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

h1 {
  font-size: var(--fs-4xl);
  line-height: var(--lh-tight);
}
h2 {
  font-size: var(--fs-3xl);
}
h3 {
  font-size: var(--fs-2xl);
}
h4 {
  font-size: var(--fs-xl);
}

/* ---- Text ------------------------------------------------------------- */
p {
  color: var(--text);
  font-weight: 350;
}
small,
.text-muted {
  color: var(--text-muted);
}

/* ---- Selection / focus ------------------------------------------------ */
::selection {
  background: rgba(45, 107, 255, 0.35);
  color: var(--text-strong);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: var(--r-1);
}
