/* Component rules and breakpoint overrides; legacy selectors are retained. */
@font-face {
  font-family: 'Tenor Sans';
  src: url('../../fonts/TenorSans-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
body.page--scroll-locked {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--red-surface);
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
}
::selection {
  background: var(--red);
  color: white;
}
.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -5rem;
  background: var(--white);
  color: var(--black);
  padding: 1rem;
}
.skip-link:focus {
  top: 1rem;
}
[id] {
  scroll-margin-top: 100px;
}
body { isolation: isolate; }
@media (prefers-reduced-motion: reduce) {
*,
*:before,
*:after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
@media (max-width: 900px) {
[id] {
    scroll-margin-top: 88px;
  }
}
