/* Fonts (self-hosted) and design tokens.
   Two hours of the day: Campfire (night, default) and First Light (golden-hour snow). */
@font-face { font-family: 'Bangers'; src: url('../fonts/bangers-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/raleway-var.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/raleway-var-italic.woff2') format('woff2'); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --font-display: 'Bangers', 'Impact', 'Arial Narrow', sans-serif;
  --font-body: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Campfire */
  --bg: #080a0f;
  --bg-2: #0d131c;
  --bg-rgb: 8, 10, 15;
  --panel-rgb: 16, 24, 36;
  --ink: #fff4e7;
  --ink-soft: #e4dccf;
  --muted: #9fa7b3;
  --accent: #61ceaa;
  --accent-ink: #062018;
  --accent-deep: #2a8f6f;
  --accent-rgb: 97, 206, 170;
  --ember: #ff8a3d;
  --ember-rgb: 255, 138, 61;
  --moon-rgb: 196, 222, 255;
  --shop: #d8352e;
  --shop-deep: #8f1c18;
  --shadow-ink: #04120d;
  --band-bg: #101c2c;
  --band-ink: #fff4e7;
  --band-soft: #d9d4ca;
  --card-rgb: 18, 26, 38;
  --line: rgba(255, 244, 231, .16);
  --line-soft: rgba(255, 244, 231, .08);
  --plate: url('../img/hero-campfire-sm.jpg');

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1220px;
  --frame: 100%;
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --fs-mega: clamp(3.4rem, 9.2vw, 8.6rem);
  --fs-hero: clamp(2.9rem, 6.6vw, 6.2rem);
  --fs-title: clamp(2.3rem, 4.6vw, 4.2rem);
  --fs-sub: clamp(1.5rem, 2.4vw, 2.2rem);
  --fs-lead: clamp(1.12rem, 1rem + .55vw, 1.45rem);
  --fs-body: clamp(1rem, .97rem + .18vw, 1.12rem);
  color-scheme: dark;
}

[data-theme="firstlight"] {
  --bg: #f3eadc;
  --bg-2: #e9dcc7;
  --bg-rgb: 243, 234, 220;
  --panel-rgb: 251, 246, 238;
  --ink: #12201a;
  --ink-soft: #2e3a33;
  --muted: #6b6a5f;
  --accent: #1e7a5b;
  --accent-ink: #f7f1e6;
  --accent-deep: #135a42;
  --accent-rgb: 30, 122, 91;
  --ember: #d9822b;
  --ember-rgb: 217, 130, 43;
  --moon-rgb: 255, 214, 150;
  --shop: #c42b25;
  --shop-deep: #7f1915;
  --shadow-ink: rgba(18, 32, 26, .2);
  --band-bg: #071611;
  --band-ink: #fff4e7;
  --band-soft: #cfd6cd;
  --card-rgb: 255, 251, 244;
  --line: rgba(18, 32, 26, .16);
  --line-soft: rgba(18, 32, 26, .08);
  --plate: url('../img/hero-firstlight-sm.jpg');
  color-scheme: light;
}

[data-layout="boxed"] {
  --frame: 1380px;
  --wrap: 1160px;
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
}
