/* Design tokens, fonts and a light reset. Light, chic theme with one vivid
   accent. Tweak the variables here to retheme the whole site. */

/* ---- Fonts (self-hosted, latin subset) ---- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/bricolage-700.woff2") format("woff2");
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/bricolage-800.woff2") format("woff2");
}

/* ---- Tokens ---- */
:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --ink: #16150f;
  --muted: #6b6960;
  --line: #e7e4dc;
  --accent: #ff4d2e;
  --accent-ink: #ffffff;

  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;

  --maxw: 1080px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 0; /* cubic look: no rounded corners anywhere */
  --shadow: 0 1px 2px rgba(22, 21, 15, 0.05), 0 8px 24px rgba(22, 21, 15, 0.06);
}

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

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

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

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

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto;
  }
}
