/* Waystorm Studios landing page. Charcoal + yellow, Noto Sans (self-hosted, OFL). */

@font-face {
  font-family: "Noto Sans";
  src: url("assets/fonts/NotoSans-Latin-var.woff") format("woff");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --bg: #0b0c0c;
  --text: #f3f3ee;
  --muted: #a8aba5;
  --line: #464b52;
  --yellow: #ffe900;
  color-scheme: dark;
}

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

html, body { height: 100%; }

body {
  margin: 0;
  display: flex; flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--yellow); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.landing {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px 16px;
  text-align: center;
}

.hero-media {
  width: min(100%, calc((100svh - 220px) * 16 / 9), 1400px);
  min-width: min(100%, 520px);
  aspect-ratio: 16 / 9;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
}
.hero-media video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--bg); }

.eyebrow {
  margin: -8px 0 0;
  color: var(--yellow);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px; min-height: 44px; padding: 0 20px;
  background: transparent; color: var(--text);
  border: 1px solid var(--line); border-radius: 4px;
  font: inherit; font-size: .75rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.btn:hover, .btn[aria-pressed="true"] { color: var(--yellow); border-color: var(--yellow); }
.btn[hidden] { display: none; }

.site-footer {
  padding: 20px 16px 28px;
  text-align: center;
  color: #8d908a; font-size: .8rem;
}

/* 404 */
.notfound .eyebrow { margin: 0 0 20px; }
.notfound img { width: 120px; height: auto; margin-bottom: 20px; }

@media (max-width: 600px) {
  .hero-media { width: 130%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
