/* ==========================================================================
   02-base.css — element defaults and typography
   ========================================================================== */

body {
  background-color: var(--c-black);
  color: var(--c-body);
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--c-white);
}

h1 {
  font-size: var(--fs-hero);
  line-height: var(--lh-hero);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h2-sm);
}

h4 {
  font-size: var(--fs-hero-sub);
  font-weight: 400;
}

h5 {
  font-size: var(--fs-body);
  letter-spacing: 0.5px;
}

p {
  margin-bottom: 1.5em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--c-gold);
}

:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

strong,
b {
  font-weight: 700;
}

/* Screen-reader-only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 999;
  padding: 12px 20px;
  background: var(--c-gold);
  color: var(--c-black);
  font-weight: 700;
}

.skip-link:focus {
  top: 0;
  color: var(--c-black);
}
