@layer reset, base, layout;

/* Palette, steps, type, and font stacks come from the brand repo's
   tokens.css, loaded first. This file only sets the deck's theme. */

/* Override the brand's TTF with the woff2 subset, preloaded in head.html.
   `block` hides text until the font is ready instead of flashing a fallback. */
@font-face {
  font-family: "GT Pressura";
  font-weight: 300 900;
  font-stretch: normal;
  src: url("/brand/assets/fonts/GT-Pressura-VF-subset.woff2") format("woff2");
  font-display: block;
}

:root {
  --slide-aspect: 16 / 9;

  /* Brand theme-dark (brand/steady/docs/themes.md) */
  --font-weight: 325;
  --color-text: var(--color-white);
  --color-accent: oklch(from var(--color-ultramarine) var(--400));
  --color-sheet: oklch(from var(--color-asphalt) var(--900));
  --color-pattern: oklch(from var(--color-asphalt) var(--800));
  color-scheme: dark;
}

/* The themes come from brand/themes.css. On a themed slide,
   bullet marks use the theme's accent. */
[class*="theme-"] {
  --bullet-mark: var(--color-accent);
}
