:root {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --red: #9b2222;
  --link: #d45f5f;
  --red-dark: #4a0e0e;
  --text: #e8e4df;
  --muted: #a8adb4;
  --border: #3d4349;
  --rule-faint: #1e1e1e;
  --nav-h: 64px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: radial-gradient(ellipse at center, #111111 0%, var(--bg) 70%);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.5;
}

/* ---- site nav ---- */

.sitenav {
  align-items: center;
  border-bottom: 1px solid var(--rule-faint);
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin: 0 auto;
  max-width: 900px;
  min-height: var(--nav-h);
  padding: 0.75rem 1.5rem;
}

/* A text wordmark, not the logo image: the logo is a stacked two-line mark
   and turns to mush at nav height. */
.sitenav .brand {
  color: var(--text);
  display: inline-flex;
  font-family: Cinzel, Georgia, serif;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 0.45em;
  letter-spacing: 0.18em;
  margin-right: auto;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.18s ease;
}

.sitenav .brand .evil {
  color: var(--red);
  transition: color 0.18s ease;
}

.sitenav .brand:hover .evil,
.sitenav .brand:focus-visible .evil {
  color: #c44;
}

.sitenav .brand:focus-visible {
  outline: 1px solid var(--red);
  outline-offset: 5px;
}

.menu {
  position: relative;
}

.menu > summary {
  color: var(--muted);
  cursor: pointer;
  display: inline-block;
  font-family: Cinzel, Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  list-style: none;
  padding: 0.5rem 0.15rem;
  position: relative;
  text-transform: uppercase;
  transition: color 0.18s ease;
}

.menu > summary::-webkit-details-marker {
  display: none;
}

/* A hairline that wipes in from the left, in place of a dropdown caret. */
.menu > summary::after {
  background: var(--red);
  bottom: 0.15rem;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0.22em;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.menu > summary:hover,
.menu[open] > summary {
  color: var(--text);
}

.menu > summary:hover::after,
.menu[open] > summary::after {
  transform: scaleX(1);
}

.menu > summary:focus-visible {
  outline: 1px solid var(--red);
  outline-offset: 4px;
}

.menu-list {
  background: #0b0b0b;
  border: 1px solid rgb(155 34 34 / 40%);
  border-top: 2px solid var(--red);
  box-shadow: 0 22px 50px rgb(0 0 0 / 75%);
  list-style: none;
  margin: 0.7rem 0 0;
  min-width: 300px;
  padding: 0;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 20;
}

.menu[open] > .menu-list {
  animation: menu-in 0.16s ease-out;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.menu-list li + li a {
  border-top: 1px solid #1b1b1b;
}

.menu-list a {
  border-left: 2px solid transparent;
  color: var(--text);
  display: block;
  padding: 0.85rem 1.15rem 0.9rem;
  text-decoration: none;
  transition: background 0.16s ease, border-left-color 0.16s ease;
}

.menu-list .name {
  display: block;
  font-family: Cinzel, Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-list .what {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  margin-top: 0.3rem;
}

.menu-list a:hover {
  background: #141414;
  border-left-color: var(--red);
}

.menu-list a:focus-visible {
  background: #141414;
  border-left-color: var(--red);
  outline: 1px solid var(--red);
  outline-offset: -1px;
}

@media (prefers-reduced-motion: reduce) {
  .menu > summary,
  .menu > summary::after,
  .menu-list a {
    transition: none;
  }

  .menu[open] > .menu-list {
    animation: none;
  }
}

.hero {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 140px - var(--nav-h));
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.logo {
  display: block;
  max-width: min(500px, 78vw);
  width: 100%;
  height: auto;
}

.tagline {
  color: var(--muted);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  letter-spacing: 0.18em;
  margin: 2rem 0 0;
  text-transform: uppercase;
}

.contact {
  border-top: 1px solid var(--border);
  margin: 0 auto;
  max-width: 720px;
  padding: 2rem 1.5rem 3rem;
  text-align: center;
}

.contact h2 {
  color: var(--text);
  font-family: Cinzel, Georgia, serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.contact p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}

.contact-form {
  margin: 0 auto 1.5rem;
  max-width: 420px;
  text-align: left;
}

.field {
  display: block;
  margin-bottom: 1rem;
}

.field span {
  color: var(--muted);
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.field input,
.field textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font: inherit;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--red);
  outline: 2px solid rgb(155 34 34 / 35%);
  outline-offset: 1px;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.honeypot {
  display: none;
}

.contact-form button {
  background: var(--red);
  border: 0;
  border-radius: 4px;
  color: var(--text);
  cursor: pointer;
  font-family: Cinzel, Georgia, serif;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  padding: 0.85rem 1.25rem;
  text-transform: uppercase;
  width: 100%;
}

.contact-form button:hover:not(:disabled) {
  background: #b02828;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  font-size: 0.95rem;
  margin: 1rem 0 0;
  text-align: center;
}

.form-status--success {
  color: #8fd48f;
}

.form-status--error {
  color: #e08080;
}

.contact-discord {
  margin-top: 1.5rem;
}

.contact a {
  color: var(--red);
  font-weight: 500;
  text-decoration: none;
}

.contact a:hover,
.contact a:focus-visible {
  color: #c44;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 480px) {
  .hero {
    min-height: calc(100vh - 120px - var(--nav-h));
    padding-top: 2rem;
  }

  .tagline {
    letter-spacing: 0.12em;
  }
}
