/* =====================================================================
   TOKENS v3 — "Quiet Grid"
   Every colour, font, size and spacing value lives here.
   Change a value here and the whole site follows.
   The rules for using them are in design-system.html.
   ===================================================================== */

:root {
  /* ---------- Colour ----------
     The frame is neutral. The work brings the colour (pink POND'S,
     gold Sunsilk, denim Tommy), so the site itself never competes. */
  --paper:      #f7f7f5;   /* page background */
  --paper-2:    #ecece9;   /* image wells, empty states */
  --ink:        #141413;   /* text */
  --ink-soft:   #74746f;   /* labels, captions, secondary text */
  --rule:       rgb(20 20 19 / .16);   /* hairlines */
  --mark:       #d23a1c;   /* handwritten notes only. Never for UI. */

  /* ---------- Type ----------
     SANS  Geist   -> titles and the one statement per page. Weight 400 only.
     MONO  DM Mono -> everything else: labels, captions, data, body copy. */
  --font-sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "DM Mono", "SF Mono", Menlo, monospace;

  /* Five sizes. A screen uses three at most. Nothing above 32px. */
  --t-micro:     11px;  /* MONO caps   labels, bands, captions        */
  --t-body:      13px;  /* MONO        paragraphs, Q&A, descriptions  */
  --t-lead:      17px;  /* SANS        intro line under a title       */
  --t-title:     24px;  /* SANS        project titles                 */
  --t-statement: 32px;  /* SANS        one sentence per page, max     */

  --lh-tight: 1.15;     /* titles, statement */
  --lh-text:  1.5;      /* body, lead */
  --lh-micro: 1.4;
  --track-micro: .04em;
  --track-sans: -.015em;

  /* ---------- Grid ---------- */
  --cols:    4;         /* columns on desktop (2 on phones) */
  --margin:  48px;      /* outer page margin */
  --gutter:  24px;      /* gap between columns */
  --sheet-gap: 8px;     /* gap inside contact sheets */

  /* ---------- Space (8px steps) ---------- */
  --s-1:   8px;
  --s-2:  16px;
  --s-3:  24px;
  --s-4:  48px;
  --s-5:  96px;         /* between blocks inside a section */
  --s-6: 160px;         /* between sections */

  /* ---------- Images ---------- */
  --portrait-filter: grayscale(1) contrast(1.06) brightness(1.06); /* portraits of Hamza only */
}

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  :root {
    --cols: 2;
    --t-title: 20px;
    --t-statement: 24px;
    --t-lead: 15px;
    --margin: 16px;
    --gutter: 12px;
    --sheet-gap: 4px;
    --s-5: 64px;
    --s-6: 96px;
  }
}
