/* base.css: Design tokens, reset, typography for tombosschaert.com */

/* --- Fonts --- */
/* Loaded via Google Fonts link in base.html template */

/* --- Design Tokens --- */
:root {
  --bg-primary: #0A0A0A;
  --bg-elevated: #141414;
  --text-primary: #F5F0E8;
  --text-secondary: #B8A898;
  --accent-copper: #A86F4F;
  --accent-gold: #B48C64;
  --accent-warm: #D4A574;
  --border-subtle: #1E1E1E;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --max-width: 1200px;
  --content-width: 860px;
  --side-pad: clamp(1.5rem, 5vw, 4rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-primary);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p { margin-bottom: 1.4em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent-copper);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-warm);
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.container--narrow {
  max-width: var(--content-width);
}

/* Visually hidden but accessible */
.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;
}
