@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

/* Lumo — shared design tokens and base styles */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:root {
  --bg:           #0f0f14;
  --bg-card:      #1a1a24;
  --bg-card-alt:  #14141e;
  --border:       #2e2e3e;
  --border-light: #3a3a4e;
  --text:         #d4c9b0;
  --text-muted:   #b0a898;
  --text-dim:     #7a7060;
  --gold:         #e8d9a0;
  --gold-dim:     #c4b870;
  --green:        #7a9e7e;
  --green-bright: #6dbf6d;
  --teal:         #7a9e9e;
  --blue:         #7ab8cc;
  --red:          #d97070;
  --red-dim:      #8b3a3a;
  --purple:       #9e7ab8;
  --font:         'Lora', Georgia, serif;
  --font-display: 'Cinzel', Georgia, serif;
  --font-body:    'Lora', Georgia, serif;
  --font-ui:      'Segoe UI', system-ui, sans-serif;
  --radius:       12px;
  --radius-sm:    8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 5px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Animation ───────────────────────────────────────────── */
@keyframes page-enter {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-delay: 0ms !important; }
}

/* ── Utility ─────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap;
}
