/*
 * Bloom Type: tokens
 * Playful, bookish and a little dreamy. A bright white page, poster-size headlines in a
 * heavy soft-wedge serif set in deep evergreen ink, with a leaf-to-lagoon gradient that
 * bleeds into the last letters of a word like sunlight through water. Body copy is a warm
 * book serif, and the key phrases in a sentence are set in bold italic. Scalloped flower
 * stickers with little faces and circling text are the one toy on each page.
 * Everything is serif. No cards with shadows: hairlines, underlines and lots of white.
 *
 * Fonts (free on Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400..900;1,9..144,400..900&family=Literata:ital,opsz,wght@0,7..72,400..700;1,7..72,400..700&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --bt-page: #FFFFFF;
  --bt-mist: #F4F8F3;
  --bt-pool-pale: #E2F3FC;
  --bt-line: #DCE3DA;
  --bt-line-strong: #0D2617;

  /* Ink */
  --bt-ink: #0D2617;
  --bt-ink-soft: #24382B;
  --bt-soft: #56665B;
  --bt-faint: #8A978E;
  --bt-on-ink: #FFFFFF;

  /* Accents */
  --bt-bark: #22160C;
  --bt-leaf: #1A8A2A;
  --bt-lagoon: #0F9CAE;
  --bt-pool: #3DB7F2;
  --bt-pool-deep: #0A86C9;
  --bt-sun: #FFD84D;
  --bt-alert: #C0392B;

  /* The signature bleed: ink, then bark, then leaf, then lagoon at the very end */
  --bt-bleed: linear-gradient(100deg, var(--bt-ink) 0%, var(--bt-ink) 52%, var(--bt-bark) 66%, var(--bt-leaf) 84%, var(--bt-lagoon) 100%);
  --bt-bleed-short: linear-gradient(100deg, var(--bt-ink) 0%, var(--bt-ink) 38%, var(--bt-leaf) 78%, var(--bt-lagoon) 100%);

  /* Fonts */
  --bt-display: "Fraunces", "Georgia", serif;
  --bt-book: "Literata", "Georgia", serif;

  /* Type scale */
  --bt-text-poster: clamp(58px, 11.5vw, 176px);
  --bt-text-hero: clamp(46px, 8vw, 120px);
  --bt-text-h2: clamp(36px, 5.2vw, 76px);
  --bt-text-h3: 26px;
  --bt-text-lead: 22px;
  --bt-text-body: 18px;
  --bt-text-small: 15px;
  --bt-text-label: 13px;
  --bt-text-note: 24px;
  --bt-tracking-display: -0.035em;
  --bt-leading-display: .9;

  /* Shape */
  --bt-radius: 0px;
  --bt-radius-sm: 6px;
  --bt-pill: 999px;
  --bt-hair: 1px solid var(--bt-line);
  --bt-rule: 2px solid var(--bt-line-strong);
  --bt-underline: 2px;
  --bt-underline-offset: .18em;
  --bt-focus: 0 0 0 3px var(--bt-page), 0 0 0 5px var(--bt-pool-deep);

  /* Space */
  --bt-container: 1240px;
  --bt-narrow: 700px;
  --bt-gutter: clamp(20px, 5vw, 64px);
  --bt-section: clamp(80px, 12vw, 168px);
  --bt-gap: 32px;

  /* Motion */
  --bt-spin: 40s;
  --bt-ease: cubic-bezier(.2, .8, .2, 1);
}
