/* flieks.co.za -- base: reset, fonts, palette, typography */

@font-face { font-family: 'Flieks Sans'; src: url('/static/fonts/flieks-sans-regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Flieks Sans'; src: url('/static/fonts/flieks-sans-bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Flieks Sans'; src: url('/static/fonts/flieks-sans-italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Flieks Sans'; src: url('/static/fonts/flieks-sans-bolditalic.otf') format('opentype'); font-weight: 700; font-style: italic; font-display: swap; }

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

:root {
  --flk-paper: #fafaf7;
  --flk-ink: #1a1a1a;
  --flk-accent: #f5c518;
  --flk-hot: #c1272d;
  --flk-rule: rgba(0,0,0,0.12);
  --flk-band: #efece4;

  --bg: var(--flk-paper);
  --bg-card: #fff;
  --text: var(--flk-ink);
  --text-muted: #666;
  --accent: var(--flk-hot);
  --accent-hover: #9c1f24;
  --border-subtle: var(--flk-rule);
  --font-stack: 'Flieks Sans', system-ui, sans-serif;
  --container-max: 700px;
}

html { font-size: 15px; line-height: 1.4; }
body { font-family: var(--font-stack); color: var(--flk-ink); background: var(--flk-paper); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; }
h1 { font-size: 1.4rem; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1rem; }
main { padding: 1.5rem 0; }
/* Landing page: drop the top padding so the yellow zine-band flows
   straight into the yellow tabs band above without a white gap. */
main:has(.landing) { padding-top: 0; }

/* Responsive widen (#629): mobile-first up to 720px, then centre a 960px
   column. Header bands still bleed full-width via their own background;
   the .container inside each band re-centres at the same max-width. */
@media (min-width: 720px) { :root { --container-max: 960px; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
