:root {
  --paper: #ebebe6;
  --ink: #0a0a0a;
  --deep: #050505;
  --dim: #4a4a48;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: var(--deep);
  overflow-x: hidden;
}

body {
  font-family: 'Rajdhani', system-ui, sans-serif;
  color: var(--paper);
  min-height: 100svh;
  min-height: 100vh;
}

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  background: radial-gradient(ellipse at 50% 42%, #101010 0%, #060606 55%, #020202 100%);
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.18) 0px,
    rgba(0, 0, 0, 0.18) 1px,
    rgba(0, 0, 0, 0) 2px,
    rgba(0, 0, 0, 0) 3px
  );
  mix-blend-mode: multiply;
  opacity: 0.5;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.65) 100%);
}

.stage {
  position: relative;
  z-index: 4;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding: 6vh 5vw;
  text-align: center;
}

.wordmark {
  position: relative;
  margin: 0;
  display: grid;
  font-family: 'Teko', 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(4.5rem, 20vw, 13rem);
  line-height: 0.85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  user-select: none;
}

.word-layer {
  display: block;
  grid-area: 1 / 1;
}

.word-main {
  color: var(--paper);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
}

.word-shadow {
  color: var(--ink);
  transform: translate(0.12em, 0.1em);
}

.tagline {
  margin: 0;
  max-width: 34ch;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--paper);
  background: rgba(5, 5, 5, 0.6);
  padding: 0.6em 1.1em;
  border-radius: 0.3em;
  border: 1px solid rgba(235, 235, 230, 0.15);
  backdrop-filter: blur(2px);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 15rem;
  padding: 0.9em 1.6em;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 0.4em;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 4px;
  box-shadow: 8px 8px 0 var(--ink), 0 0 0 5px var(--ink);
}

@media (max-width: 520px) {
  .btn { min-width: 0; width: 100%; max-width: 22rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

.noscript-note {
  position: relative;
  z-index: 4;
}
