/* ============================================================
   BRAND FAMILY — direction B "Zacht" (chosen 2026-11-23).
   Shared by sportbhwijzer.nl, sportkledingwijzer.nl and later fitnessleggings.nl.
   Sand neutrals, one rounded sans (Figtree), pebble shapes. Each site adds only:
     1. an accent block (--accent, --accent-soft, --accent-tint) at the top of its own stylesheet;
     2. its glyph inside the pebble (shared/brand/<site>/, built by design/brand/make_logos.py).
   Each site serves shared/css, shared/fonts and shared/brand/<site> as /assets/css, /assets/fonts and
   /assets/brand (symlinks), so the relative font URL below works on the sites and on the design pages:
   design/system.html (sportbhwijzer) and sites/sportkledingwijzer/design/system.html.
   ============================================================ */

/* Figtree (OFL, shared/fonts/OFL.txt), self-hosted: one variable woff2, weights 300 to 900, Latin subset.
   No request to Google: visitor IPs stay with us. */
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  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;
}
:root {
  /* neutrals */
  --bg: #f8f2ea;            /* papier: page */
  --surface: #fffcf8;       /* vlak: panels, cards, tiles */
  --surface-soft: #f4ebe1;  /* notices and empty states; zacht text 4.6 on it */
  --line: #ecdfd2;          /* lijn */
  --line-strong: #98877a;   /* edge of a form field: 3.1 on papier, 3.4 on vlak (non-text AA) */
  --text: #2a221d;          /* inkt, 14.0 on papier */
  --text-soft: #75685c;     /* zacht, 4.9 on papier, 5.3 on vlak */
  --text-soft-strong: #685b50; /* zacht on an accent-soft pebble (AA on every site's tint) */
  --on-dark: #f8f2ea;
  --on-dark-soft: #b3a596;

  /* fallback accent (a site overrides these three) */
  --accent: #2a221d;
  --accent-soft: #f4ebe1;
  --accent-tint: #b3a596;   /* the accent on a dark ground */
  --accent-text: #ffffff;

  /* type: Figtree, one family. Body 16px. */
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-2xs: 0.75rem;   /* 12: card meta, size chips */
  --text-xs: 0.8125rem;  /* 13: field labels, source lines */
  --text-s: 0.875rem;    /* 14: hints, chips, small buttons */
  --text-sm: 0.9375rem;  /* 15: card names, summary bar */
  --text-m: 1rem;        /* 16: body */
  --text-l: 1.25rem;     /* 20: section heads */
  --text-xl: 1.375rem;   /* 22: results head */
  --text-2xl: 1.875rem;  /* 30: page title */
  --w-head: 750;
  --w-strong: 700;
  --w-label: 600;

  /* space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.75rem;
  --space-5: 3rem;

  /* pebble radii: big soft shapes, never sharp corners */
  --radius-s: 10px;      /* thumbs, table wrap */
  --radius-img: 16px;    /* image well inside a card */
  --radius-field: 18px;  /* value pebbles, inputs */
  --radius-list: 20px;   /* list rows */
  --radius-card: 22px;   /* product card */
  --radius-tile: 24px;   /* category tile, notices */
  --radius-panel: 26px;  /* finder, filter panel, result */
  --radius-pill: 999px;  /* buttons, chips, pills */
  --radius: var(--radius-field);
  --shadow-pebble: 0 1px 0 var(--line), 0 10px 30px -18px rgba(90, 60, 40, 0.35);

  --tap: 44px; /* minimum tap height */
}

/* base shared by both sites */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: var(--text-m)/1.5 var(--font); -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* lockup: pebble mark + wordmark. HTML text so it uses the web font and stays crisp. */
.lockup { display: inline-flex; align-items: center; gap: 10px; min-width: 0; min-height: var(--tap); color: var(--text); text-decoration: none; }
.lockup svg { flex: none; display: block; }
.wm { font-weight: var(--w-strong); font-size: 1.125rem; letter-spacing: -0.015em; white-space: nowrap; color: var(--text); }
.wm .w2 { color: var(--accent); }
.wm .tld { color: var(--text-soft); font-weight: 500; }

/* a 40x40 pebble with a glyph: the mark, also used as a small icon on tiles */
.pebble { flex: none; display: block; }

/* sister sites: three marks side by side */
.sisters { display: flex; align-items: center; gap: var(--space-1); }
.site-header .sisters { border-left: 1px solid var(--line); padding-left: var(--space-3); }
.sisters > span { font-size: var(--text-xs); font-weight: var(--w-label); color: var(--text-soft); margin-right: var(--space-1); white-space: nowrap; }
.sisters a { display: inline-flex; align-items: center; justify-content: center; min-width: var(--tap); min-height: var(--tap); border-radius: var(--radius-pill); }
.sisters a:hover { background: var(--bg); }

/* page frame shared by every site: one container, header with lockup, tagline, nav pills and sister marks */
main, .site-header .in, .site-footer .in { max-width: 1180px; margin: 0 auto; }
.site-header .in, .site-footer .in { padding: 0 16px; }
.site-header .in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 58px; }
.site-header .lockup .pebble { width: 30px; height: 30px; }
.brand-row { display: flex; align-items: center; gap: 22px; min-width: 0; }
.brand-row .lockup { flex: none; }
.tagline { font-size: var(--text-s); font-weight: var(--w-label); color: var(--text-soft); white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: var(--space-2); }
/* nav pill: 40px visual, 44px hit area */
.header-link { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: var(--text-s); font-weight: var(--w-label); text-decoration: none; white-space: nowrap; }
.header-link::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; bottom: -3px; }
.header-link:hover { border-color: var(--accent); color: var(--accent); }
.header-link[aria-current] { color: var(--accent); font-weight: var(--w-strong); }
@media (min-width: 1000px) {
  .site-header { background: var(--surface); }
  .site-header .in { min-height: 76px; }
  .site-header .lockup .wm { font-size: 1.5rem; }
  .site-header .lockup .pebble { width: 34px; height: 34px; }
  .site-nav { margin-left: auto; }
  .site-nav .header-link { background: var(--bg); border-color: transparent; }
  .site-nav .header-link[aria-current] { background: var(--accent-soft); }
}
@media (max-width: 999px) { .wide { display: none; } }
@media (max-width: 1199px) { .tagline { display: none; } }
.site-footer { background: var(--surface); color: var(--text-soft); font-size: var(--text-s); padding: var(--space-4) 0 var(--space-5); }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); margin-bottom: var(--space-3); }
