/* Shared theme for every page: fonts, colour roles, typography, controls, header, footer.
   Loaded after style.css by the homepage and both legal pages. */

/* Self-hosted WOFF2, split by unicode range: latin loads first, latin-ext only when needed. */
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/SpaceGrotesk-Variable-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  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";
  src: url("../assets/fonts/SpaceGrotesk-Variable-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  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;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/SourceSans3-Variable-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  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: "Source Sans 3";
  src: url("../assets/fonts/SourceSans3-Variable-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  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 {
  /* Warm near-black for solid surfaces, so the darks sit in the same family as --ink. */
  --accent: #2a2320;
  --accent-hover: #463a34;
  /* Copper, taken from the flame in the logo. Carries links, focus and small marks. */
  --brand: #8f4e2c;
  --focus: var(--brand);
}

body { font-family: "Source Sans 3", sans-serif; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; font-weight: 500; letter-spacing: -.03em; }
h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.2; }
.eyebrow { letter-spacing: .09em; }
::selection { background: var(--primary); color: var(--ink); }

.button, .button:hover { color: var(--paper); transform: none; }
.button { font-size: 15px; font-weight: 600; }
.button-small { font-size: 14px; }
.text-link { color: var(--brand); text-decoration-color: currentColor; font-size: 15px; }
.text-link:hover { color: var(--ink); }

.site-header nav { font-size: 14px; }
.site-header nav > a:not(.button) { color: var(--accent); }
.menu-toggle svg { display: block; flex-shrink: 0; }

.site-footer { background: var(--accent); }
.site-footer nav a:hover { color: var(--primary); }
.site-footer :focus-visible { outline-color: var(--primary); }

@media (max-width: 1200px) {
  .site-header nav { font-size: 13px; gap: 16px; }
  .button-small { font-size: 13px; }
}
