:root {
  /* Color Tokens */
  --color-ivory: #f8f5f0;
  --color-charcoal: #1a1a1a;
  --color-terracotta: #c27d5a;
  --color-sage: #8a9b6e;
  --color-slate: #6b7a8f;
  --color-paper: #f9f7f3;
  --color-ink: #333333;

  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  /* Borders */
  --border-thin: 1px solid var(--color-ink);
  --border-thin-light: 1px solid rgba(26, 26, 26, 0.1);
  --radius-sm: 2px;
  --radius-md: 4px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
body {
  background-color: var(--color-ivory);
  color: var(--color-ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-md) 0;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }

/* Grid System */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
}

/* Pixel Sprite Motif */
.pixel-sprite {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4"><rect width="1" height="1" fill="%231a1a1a" opacity="0.1"/></svg>');
  background-repeat: repeat;
  opacity: 0.05;
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
}