/* ===========================================================================
   Voyager: base styles.
   Branding distinct from portfolio: pure black background, Instrument Serif
   for editorial display, Manrope for body, Space Mono for technical data.
   =========================================================================== */

:root {
  --color-bg: #000000;
  --color-bg-soft: #0a0a0f;
  --color-surface: rgba(15, 18, 28, 0.78);
  --color-surface-strong: rgba(20, 24, 36, 0.94);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.18);

  --color-text: #f2f2f2;
  --color-text-muted: rgba(242, 242, 242, 0.62);
  --color-text-faint: rgba(242, 242, 242, 0.38);

  --color-accent: #7dd3fc;       /* sky-blue - primary highlight */
  --color-accent-warm: #f5c16c;  /* warm gold - for the Sun, secondary accent */
  --color-accent-deep: #5b8cb8;

  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-body: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-tech: 'Space Grotesk', 'Manrope', system-ui, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  --ease-cinematic: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity 0.2s var(--ease-soft);
}

a:hover { opacity: 0.75; }

/* ---------------------------------------------------------------------------
   Typography
   --------------------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ---------------------------------------------------------------------------
   Respect the user's "reduce motion" OS / browser preference.
   When enabled, all decorative animations and transitions become near-instant
   so the experience is calmer for users with vestibular disorders, motion
   sensitivity, photosensitivity, or general preference. Camera fly-ins and
   intro animations are also skipped (handled in JS).
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}
