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

:root {
  --bg-deep: #0a0805;
  --bg-surface: rgba(20, 15, 10, 0.72);
  --bg-surface-solid: #14100a;
  --text-cream: #f4ead5;
  --text-muted: rgba(244, 234, 213, 0.62);
  --gold: #c9a961;
  --gold-light: #e8d098;
  --gold-dim: rgba(201, 169, 97, 0.35);
  --gold-glow: rgba(201, 169, 97, 0.28);
  --dark-piece: #1a120a;
  --light-piece: #f0e4c8;
  --border-gold: rgba(201, 169, 97, 0.22);
  --border-gold-strong: rgba(201, 169, 97, 0.45);
  --glass: rgba(14, 11, 8, 0.55);
  --shadow-deep: 0 24px 64px rgba(0, 0, 0, 0.55);
  --ease-premium: cubic-bezier(0.2, 0.9, 0.3, 1);
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', monospace;
  --container: min(1120px, calc(100% - 3rem));
  --nav-height: 72px;
  --radius-sm: 3px;
  --radius-md: 4px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-cream);
  background: var(--bg-deep);
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

::selection {
  background: rgba(201, 169, 97, 0.35);
  color: var(--text-cream);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.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;
}
