/* =============================================================
   VELOUR — Shared Base Styles (MINIMAL)
   Only CSS variables, resets, typography defaults.
   No layout. No components. Each page defines its own.
   ============================================================= */

:root {
  /* Surface — dark (default) */
  --bg:            #0e0e0e;
  --bg-2:          #161616;
  --bg-3:          #1e1e1e;
  --bg-hover:      #242424;
  --border:        #2a2a2a;
  --border-soft:   rgba(255,255,255,0.07);

  /* Premium gold palette (primary accent) */
  --gold:          #c9a96e;
  --gold-light:    #e8c98a;
  --gold-dim:      rgba(201,169,110,0.18);
  --gold-faint:    rgba(201,169,110,0.08);

  /* Foreground */
  --cream:         #f5efe6;
  --muted:         #7a7a7a;
  --muted-dim:     #4a4a4a;

  /* Feedback */
  --danger:        #d94b4b;
  --danger-soft:   rgba(217,75,75,0.12);
  --success:       #4ade80;
  --success-soft:  rgba(74,222,128,0.12);
  --info:          #60a5fa;

  /* Navigation (blurred) */
  --nav-bg:        rgba(14,14,14,0.85);

  /* Typography */
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Rhythm */
  --radius:        12px;
  --radius-lg:     20px;
  --radius-sm:     8px;
  --radius-pill:   999px;

  /* Shadows */
  --shadow:        0 8px 32px rgba(0,0,0,0.45);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.6);
  --shadow-gold:   0 8px 32px rgba(201,169,110,0.25);

  /* Layout */
  --nav-h:         64px;
  --bottom-nav-h:  72px;
  --max-w:         1200px;

  /* Motion */
  --transition:    0.25s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.45s cubic-bezier(0.4,0,0.2,1);

  /* Safe areas */
  --safe-top:      env(safe-area-inset-top, 0px);
  --safe-bottom:   env(safe-area-inset-bottom, 0px);
}

[data-theme="light"] {
  --bg:            #f8f5f0;
  --bg-2:          #ffffff;
  --bg-3:          #f0ece5;
  --bg-hover:      #e8e3d8;
  --border:        #e0d8ce;
  --border-soft:   rgba(0,0,0,0.08);
  --cream:         #2a2218;
  --muted:         #8a7a6a;
  --muted-dim:     #b8ac9c;
  --gold:          #b8924a;
  --gold-light:    #d4a855;
  --gold-dim:      rgba(184,146,74,0.14);
  --gold-faint:    rgba(184,146,74,0.06);
  --nav-bg:        rgba(248,245,240,0.88);
  --shadow:        0 8px 32px rgba(90,70,30,0.1);
  --shadow-lg:     0 20px 60px rgba(90,70,30,0.15);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

/* ── Typography defaults ─────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold-light); }

img, svg, video { display: block; max-width: 100%; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button { cursor: pointer; }

/* ── Scrollbar (hidden but functional) ──────────────────── */
::-webkit-scrollbar { width: 0px; height: 0px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: transparent; }

/* Firefox scrollbar hiding */
html {
  scrollbar-width: none;
}

/* Ensure scrolling still works on all elements */
* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ── Selection ───────────────────────────────────────────── */
::selection { background: var(--gold-dim); color: var(--gold-light); }

/* ── Utility: sr-only ────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ── Prefers reduced motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}