:root {
  /* Palette */
  --color-obsidian: #0b0c0d;
  --color-obsidian-alpha: rgba(11, 12, 13, 0.85);
  --color-bone: #e3e0d6;
  --color-lichen: #8fa38f;
  --color-copper: #b87333; /* For subtle accents/patina */

  /* Typography */
  /* Using system/fallback stack that mimics the desired feel if custom fonts aren't loaded */
  --font-heading: 'Cormorant Garamond', 'Georgia', serif; 
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --space-unit: 1rem;
  --space-xs: calc(0.5 * var(--space-unit));
  --space-sm: calc(1 * var(--space-unit));
  --space-md: calc(2 * var(--space-unit));
  --space-lg: calc(4 * var(--space-unit));
  --space-xl: calc(8 * var(--space-unit));
  
  /* Grid */
  --grid-columns: 12;
  --grid-gap: var(--space-md);
  
  /* Motion */
  --transition-slow: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-obsidian);
  color: var(--color-bone);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-bone);
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-medium);
}

a:hover {
  opacity: 0.7;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Texture Overlay */
.texture-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/texture.png');
  background-repeat: repeat;
  opacity: 0.08;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}
