/* KOBE — base */

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

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

body {
  margin: 0;
  background: var(--kobe-black);
  color: var(--kobe-white);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  margin: 0 0 var(--space-3);
  letter-spacing: 0.01em;
}

h1 { font-size: var(--fs-h1); font-weight: var(--fw-bold); text-transform: uppercase; line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); text-transform: uppercase; }
h3 { font-size: var(--fs-h3); }

p  { margin: 0 0 var(--space-3); color: var(--kobe-gray); max-width: 65ch; }

a {
  color: var(--kobe-white);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--kobe-red); }

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

button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

ul { list-style: none; padding: 0; margin: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--kobe-red);
  margin-bottom: var(--space-2);
}

:focus-visible {
  outline: 2px solid var(--kobe-red);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--kobe-red);
  color: var(--kobe-white);
  padding: var(--space-2) var(--space-3);
  z-index: 999;
}
.skip-link:focus { left: var(--space-2); top: var(--space-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
