/* BradBod™ design tokens. Daylight is the default; Campfire is the night theme.
   Source of truth: the BradBod™ brand system (tokens.json). Change values there first. */

@font-face { font-family: "Bowlby One"; src: url("/fonts/bowlby-one.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Shrikhand"; src: url("/fonts/shrikhand.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/fonts/dm-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/fonts/dm-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --font-display: "Bowlby One", "Arial Black", Impact, sans-serif;
  --font-script: "Shrikhand", Georgia, serif;
  --font-sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, Menlo, monospace;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-18: 72px; --space-28: 112px;
  --radius-sm: 6px; --radius-md: 14px; --radius-lg: 28px; --radius-pill: 999px;
  --stroke-bold: 3px; --stroke-hair: 1px;
  --tilt-sticker: -8deg; --tilt-photo: 2.5deg; --tilt-photo-alt: -2deg;

  /* Type sizes that change with the viewport. Components use these aliases. */
  --ts-mega: min(112px, 15.5vw);
  --ts-h1: 64px;
  --ts-script-xl: 48px;
}
@media (max-width: 860px) {
  :root { --ts-h1: 44px; --ts-script-xl: 34px; }
}

:root, [data-theme="daylight"] {
  color-scheme: light;
  --surface: #fff4e2; --surface-raised: #f7e6c8; --paper: #fffdf8;
  --ink: #1c1a16; --ink-muted: #5c5246; --on-paper: #1c1a16; --line: #1c1a1629; --pop: #1c1a16;
  --sunburn: #c8401f; --on-sunburn: #fff4e2;
  --pine: #1f3d33; --on-pine: #fff4e2;
  --gold: #f2a93b; --on-gold: #1c1a16;
  --river: #16676f; --on-river: #fff4e2;
  --khaki: #d8b886;
  --disco: #b42a66; --on-disco: #fff4e2;
  --link: var(--river);
  --shadow-pop: 5px 5px 0 #1c1a16;
  --shadow-pop-lg: 8px 8px 0 #1c1a16;
  --shadow-photo: 0 18px 30px -12px #1c1a1673;
  --focus-ring: 0 0 0 3px #fff4e2, 0 0 0 6px #1c1a16;
}

[data-theme="campfire"] {
  color-scheme: dark;
  --surface: #13201b; --surface-raised: #1c2d26; --paper: #f6ebd8;
  --ink: #fff1dc; --ink-muted: #cdbfa8; --on-paper: #1c1a16; --line: #fff1dc2e; --pop: #050a08;
  --sunburn: #f26a45; --on-sunburn: #1c1a16;
  --pine: #2e5e4c; --on-pine: #fff1dc;
  --gold: #f5b648; --on-gold: #1c1a16;
  --river: #6cc7cd; --on-river: #1c1a16;
  --khaki: #c4a574;
  --disco: #f26aa6; --on-disco: #1c1a16;
  --shadow-pop: 5px 5px 0 #050a08;
  --shadow-pop-lg: 8px 8px 0 #050a08;
  --shadow-photo: 0 18px 30px -10px #000000cc;
  --focus-ring: 0 0 0 3px #13201b, 0 0 0 6px #fff1dc;
}
