/* Space Grotesk — self-hosted (replaces the Google Fonts @import).
   Variable weight 300–700; latin + latin-ext subsets, woff2 in /fonts/. */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Colors */
  --color-bg:           #F6F3EE;
  --color-text:         #1C1916;
  --color-accent:       #C9963A;
  --color-text-muted:   #7A736B;
  --color-surface:      #EDE9E3;
  --color-border:       #D9D4CC;

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-ui:      'Space Grotesk', system-ui, sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  3rem;
  --text-4xl:  4.5rem;
  --text-5xl:  6rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --max-width:   1400px;
  --nav-height:  64px;
  --gutter:      clamp(1rem, 4vw, 2.5rem);

  /* Transitions */
  --transition:      0.3s ease;
  --transition-slow: 2s ease;

  /* Tile hover */
  --tile-brightness-hover: brightness(1.15);
}
