/*
 * Still Ring: tokens
 * A calm, warm dark style. Charcoal like a room with the lamps low, a big
 * bookish serif with one coral italic word, bone colored buttons and
 * concentric ripple rings drawn in faint hairlines.
 *
 * Fonts (free on Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600&display=swap" rel="stylesheet">
 */

:root {
  /* Surfaces */
  --sr-coal: #1C1B19;
  --sr-coal-2: #24231F;
  --sr-coal-3: #2F2D29;
  --sr-line: #3A3732;
  --sr-line-soft: #2C2A26;

  /* Ink */
  --sr-paper: #ECE6D6;
  --sr-bone: #D6CFBD;
  --sr-bone-hi: #E6E0D0;
  --sr-ash: #A39D8E;
  --sr-dim: #77726A;

  /* Accents */
  --sr-coral: #EC6A4E;
  --sr-coral-soft: #F29A84;
  --sr-coral-wash: rgba(236, 106, 78, .12);
  --sr-sage: #9AAE95;
  --sr-sage-wash: rgba(154, 174, 149, .14);

  /* Ripples: faint concentric rings, used as backgrounds */
  --sr-ring: rgba(236, 230, 214, .13);
  --sr-ring-coral: rgba(236, 106, 78, .35);
  --sr-ripple: repeating-radial-gradient(circle at 50% 100%, transparent 0 46px, var(--sr-ring) 46px 47px);
  --sr-ripple-center: repeating-radial-gradient(circle at 50% 50%, transparent 0 34px, var(--sr-ring) 34px 35px);
  --sr-ripple-fade: radial-gradient(farthest-side at 50% 100%, #000 45%, transparent 100%);
  --sr-warmth: radial-gradient(60% 70% at 50% 100%, rgba(236, 106, 78, .14), transparent 70%);

  /* Fonts */
  --sr-serif: "Instrument Serif", Georgia, serif;
  --sr-sans: "Bricolage Grotesque", system-ui, sans-serif;
  --sr-weight-regular: 400;
  --sr-weight-medium: 500;
  --sr-weight-bold: 600;

  /* Type scale */
  --sr-text-display: clamp(54px, 9vw, 120px);
  --sr-text-h1: clamp(44px, 6.4vw, 84px);
  --sr-text-h2: clamp(34px, 4.4vw, 56px);
  --sr-text-h3: 20px;
  --sr-text-lead: 18px;
  --sr-text-body: 16px;
  --sr-text-small: 14px;
  --sr-text-micro: 12px;
  --sr-leading-serif: .98;
  --sr-tracking-serif: -.01em;

  /* Shape */
  --sr-radius-lg: 24px;
  --sr-radius: 14px;
  --sr-radius-sm: 10px;
  --sr-radius-pill: 999px;
  --sr-border: 1px solid var(--sr-line);
  --sr-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .3);
  --sr-shadow-btn: 0 6px 16px -6px rgba(0, 0, 0, .6);

  /* Space */
  --sr-container: 1180px;
  --sr-narrow: 680px;
  --sr-gutter: 24px;
  --sr-section: clamp(72px, 10vw, 128px);

  /* Motion */
  --sr-ease: cubic-bezier(.2, .7, .2, 1);
  --sr-fast: 160ms;
  --sr-slow: 9s;
}
