/*
 * Tilt Frame: design tokens
 * A friendly, chatty reading room. A solid tomato header band, a rail of pale pink pill tags,
 * chunky grotesk headlines, a warm book serif for reading, and the signature: portraits and
 * pictures set in rounded-square frames with a thick tomato border, tipped a few degrees,
 * resting on a long soft shadow. A sky-blue side card holds the newsletter and the mascot.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,600;1,7..72,400&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --tf-paper: #ffffff;
  --tf-blush: #fde8e4;       /* pill tags, quiet chips, table stripes */
  --tf-blush-2: #f9d3cb;     /* hover on blush */
  --tf-sky: #e4f3fb;         /* the side card, newsletter blocks, callouts */
  --tf-sky-2: #c9e6f6;
  --tf-line: #ece4e1;        /* hairlines and dividers */

  /* Text */
  --tf-ink: #221c1b;
  --tf-soft: #5f5653;
  --tf-faint: #9a8f8b;

  /* Accents: tomato is the voice, sky is the calm partner, leaf says yes */
  --tf-tomato: #e2462f;
  --tf-tomato-dark: #b8321f;  /* the "More" pill on the header band, hover */
  --tf-sky-deep: #1e7fb5;     /* the newsletter button, info links on sky */
  --tf-leaf: #3c9f59;         /* the one "yes" button in dialogs, success */
  --tf-sun: #f6b73c;          /* the mascot's highlights and the odd star */

  /* Type */
  --tf-display: "Bricolage Grotesque", "Arial Rounded MT Bold", system-ui, sans-serif;
  --tf-serif: "Literata", "Iowan Old Style", Georgia, serif;

  --tf-text-hero: clamp(38px, 5.4vw, 64px);
  --tf-text-h2: clamp(28px, 3.4vw, 40px);
  --tf-text-h3: 24px;
  --tf-text-lead: 19px;
  --tf-text-body: 17px;
  --tf-text-small: 15px;
  --tf-text-micro: 12px;
  --tf-tracking-tight: -.025em;
  --tf-tracking-caps: .08em;

  /* Shape: rounded but not bubbly. Frames are thick and tipped; everything else sits straight */
  --tf-radius-sm: 6px;
  --tf-radius: 12px;
  --tf-radius-lg: 22px;
  --tf-radius-frame: 18px;
  --tf-radius-pill: 999px;
  --tf-frame-border: 5px solid var(--tf-tomato);
  --tf-tilt: -5deg;
  --tf-tilt-alt: 4deg;
  --tf-shadow: 0 2px 6px rgba(34, 28, 27, .06), 0 10px 28px rgba(34, 28, 27, .08);
  --tf-shadow-frame: -10px 16px 30px rgba(34, 28, 27, .22);

  /* Space */
  --tf-section: clamp(56px, 8vw, 104px);
  --tf-container: 1180px;
  --tf-narrow: 720px;
  --tf-gutter: 24px;

  /* Motion */
  --tf-ease: cubic-bezier(.3, 1.3, .5, 1);
}
