/*
  Sampler Band: design tokens
  An early-2000s home page that someone's aunt hand-stitched. A gingham linen
  masthead band carries a wordmark drawn as cross-stitch, one stitch per pixel,
  each letter in a different thread color. Under it, a navy strip of centered
  links split by pipes. The page itself is plain white with classic underlined
  blue links, a Helvetica-like sans for everything and a Times-like italic for
  quotes. Side panels are soft lavender-gray boxes with a navy border, rounded
  corners and a small drop shadow. Lists read like a ledger: underlined title,
  one-line summary, then "Date:", "Cook:", "Rating:" rows with navy stars.

  Fonts (free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400;0,700;1,400&family=Tinos:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --sb-paper: #FFFFFF;
  --sb-linen: #EFE5CB;
  --sb-linen-deep: #E0D2AE;
  --sb-check: rgba(170, 140, 80, 0.16);
  --sb-panel: #ECEDF4;
  --sb-panel-head: #DCDFEC;
  --sb-line: #C9CCD8;
  --sb-card: #FFFDF6;
  --sb-card-rule: #BFD3EA;

  /* Navy structure */
  --sb-navy: #33447C;
  --sb-navy-deep: #232F5C;
  --sb-navy-edge: #2B3893;
  --sb-on-navy: #FFFFFF;

  /* Text */
  --sb-ink: #121212;
  --sb-soft: #444851;
  --sb-faint: #7A7E88;

  /* Links: classic web blue, plum once visited */
  --sb-link: #1C4BC9;
  --sb-link-hover: #0E2F8F;
  --sb-visited: #66308A;

  /* Thread colors (wordmark, bullets, badges) */
  --sb-thread-red: #B0223D;
  --sb-thread-navy: #2E4192;
  --sb-thread-plum: #7140A0;
  --sb-thread-moss: #3D7F36;
  --sb-thread-ochre: #C4861A;
  --sb-thread-teal: #1E7C82;

  /* Status */
  --sb-ok: #2F6E2A;
  --sb-ok-soft: #E3F0DF;
  --sb-note: #FFF6D6;
  --sb-note-edge: #E0BE55;

  /* Buttons (glossy gray, the 2003 kind) */
  --sb-btn-top: #FBFBFD;
  --sb-btn-bottom: #D9DBE3;
  --sb-btn-edge: #8E92A0;
  --sb-btn-press: #C8CBD6;

  /* Fonts */
  --sb-font: Arimo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sb-serif: Tinos, "Times New Roman", Times, serif;

  /* Type scale */
  --sb-text-hero: clamp(30px, 4.2vw, 40px);
  --sb-text-h2: 25px;
  --sb-text-h3: 20px;
  --sb-text-title: 21px;
  --sb-text-lead: 18px;
  --sb-text-body: 16px;
  --sb-text-small: 14px;
  --sb-text-micro: 12px;
  --sb-leading: 1.45;

  /* Shape */
  --sb-radius-panel: 8px;
  --sb-radius-btn: 4px;
  --sb-radius-input: 3px;
  --sb-radius-tile: 10px;
  --sb-panel-border: 2px solid var(--sb-navy-edge);
  --sb-rule: 1px solid var(--sb-line);
  --sb-stitch: 2px dashed var(--sb-thread-red);
  --sb-shadow-panel: 2px 3px 5px rgba(20, 24, 50, 0.28);
  --sb-shadow-btn: inset 0 1px 0 #FFFFFF, 0 1px 1px rgba(20, 24, 50, 0.15);
  --sb-shadow-press: inset 0 1px 3px rgba(20, 24, 50, 0.3);
  --sb-shadow-photo: 3px 4px 0 rgba(20, 24, 50, 0.18);
  --sb-focus: 0 0 0 2px var(--sb-paper), 0 0 0 4px var(--sb-thread-ochre);

  /* Space */
  --sb-space-1: 4px;
  --sb-space-2: 8px;
  --sb-space-3: 12px;
  --sb-space-4: 18px;
  --sb-space-5: 28px;
  --sb-space-6: 44px;

  /* Layout */
  --sb-page: 1100px;
  --sb-side: 240px;
  --sb-measure: 640px;
  --sb-band-h: 88px;
}

@media (max-width: 640px) {
  :root {
    --sb-text-h2: 22px;
    --sb-text-title: 19px;
    --sb-band-h: 64px;
  }
}
