@font-face {
  font-family: "Oxanium";
  src: url("./fonts/oxanium-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --display-font: "Oxanium", "Trebuchet MS", sans-serif;
  --backlight: 0 0 2px #c5ecff66, 0 0 14px #58aaff66, 0 0 30px #2675ff33;
}

h1, h2, h3, h4, .identity strong, .nav-center a, .discord,
.signup, .eyebrow, .intro, .event-action, .rule summary, .foot strong {
  font-family: var(--display-font);
  font-weight: 700;
  text-shadow: var(--backlight);
}

.about h1, .content h1, .rules h2, .event-link h2 {
  color: #edf8ff;
  letter-spacing: .035em;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.rule .body h3, .rule .body h4 {
  letter-spacing: .02em;
  text-shadow: 0 0 12px #58aaff40;
}

.identity strong span, .eyebrow, .intro, .event-action {
  color: #8ccaff;
}

.nav-center a:hover, .discord:hover, .signup:hover,
.event-link:hover h2, .rule summary:hover {
  text-shadow: 0 0 3px #e7f7ff99, 0 0 16px #69b8ff99, 0 0 32px #2675ff66;
}

a:focus-visible, .rule summary:focus-visible {
  outline: 2px solid #8ccaff;
  outline-offset: 5px;
}

@media (max-width: 690px) {
  .nav { grid-template-columns: 1fr auto; height: auto; padding: 10px 0 0; }
  .nav-center { grid-column: 1 / -1; grid-row: 2; padding-bottom: 12px; }
  .nav-end { grid-column: 2; grid-row: 1; }
  .about h1, .content h1 { font-size: clamp(27px, 6.5vw, 42px); }
  .identity strong { font-size: 13px; letter-spacing: .5px; }
  .intro { line-height: 1.8; }
}

@media (forced-colors: active) {
  h1, h2, h3, h4, a, strong, summary, .eyebrow, .intro { text-shadow: none; }
}
