/* =========================================================================
   Eldra — minimal landing page
   Brand tokens live in /brand/tokens.css (source of truth).
   ========================================================================= */

:root {
  /* Eric's brand tokens (verbatim) */
  --eldra-slate:  #4A4F54;
  --eldra-cyber:  #00A3FF;
  --eldra-forge:  #FF8C00;
  --bg-primary:   #0A0A0C;
  --bg-surface:   #121316;

  /* Extended (semantic aliases) */
  --text-muted:   #A0A4AB;
  --text-dim:     #4A4F54;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-primary);
  color: #F5F5F7;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Subtle forge/cyber atmospheric wash at top, masked at edges */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 25% 0%, rgba(255, 140, 0, 0.05), transparent 60%),
    radial-gradient(ellipse 60% 50% at 75% 5%, rgba(0, 163, 255, 0.05), transparent 60%);
}

/* Stage: full-viewport, lockup centered */
.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

/* Lockup: logo + tagline, vertically centered in the remaining space */
.lockup {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  width: 100%;
}

.mark {
  display: block;
  width: 100%;
  max-width: clamp(360px, 60vw, 720px);
  height: auto;
  border-radius: 4px;
  filter: drop-shadow(0 0 32px rgba(255, 140, 0, 0.18));
}

/* Email link — interactive, cyber-blue, the only content below the logo */
.email {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  color: var(--eldra-cyber);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.email:hover,
.email:focus-visible {
  color: var(--cyber-hi, #33B5FF);
  border-bottom-color: var(--eldra-cyber);
  outline: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

::selection { background: var(--eldra-forge); color: var(--bg-primary); }