/* ============================================================
   Aventurine — the layer over css/base.css
   Load straight after css/base.css, before anything else. It holds the
   warm neutral ramp, and the one utility the first site never needed.

   The first site's neutral ramp (--color-aventurine-*) is the single grey
   source every surface, text and line token derives from, so replacing
   its eleven steps here warms the whole site without touching a rule.

   Each step keeps the first site's lightness (OKLCH L) and leans yellow,
   like ivory journal stock and brown-black ink: the hue runs from 90° at
   50 to 80° at 900-950. Chroma by step: 50 0.012, 100 0.016, 200 0.019,
   300 0.021, 400 0.021, 500 0.0195, 600 0.0175, 700 0.015, 800 0.012,
   900 0.008, 950 0.006. The planner app (aventurine-planner, style.css)
   uses this same hue and chroma curve on its own, slightly darker
   lightness steps (cards and pop-ups at 90°, 0.0085 and 0.0065); change
   both together. Body text is 11.5:1 on the surface, muted text 7.7:1.

   Left alone on purpose: the --app-* palette, which mirrors the app's own
   cool greys so mockups match the screenshots, and the accent ramp.
   ============================================================ */

:root {
  --color-aventurine-50:  #fcf8f0;   /* was #faf8f6 */
  --color-aventurine-100: #efeadf;   /* was #edeae6 */
  --color-aventurine-200: #d6d0c3;   /* was #d5d0ca */
  --color-aventurine-300: #bcb6a8;   /* was #bcb5ad */
  --color-aventurine-400: #a39d8f;   /* was #a39c94 */
  --color-aventurine-500: #8a8478;   /* was #8a847c */
  --color-aventurine-600: #706a60;   /* was #6f6a62 */
  --color-aventurine-700: #544f47;   /* was #534f49 */
  --color-aventurine-800: #39352f;   /* was #393531 */
  --color-aventurine-900: #1c1a16;   /* was #1b1a17 */
  --color-aventurine-950: #0e0d0a;   /* was #0e0d0b */

  /* base.css writes these two as literals rather than from the ramp */
  --border: color-mix(in srgb, var(--color-aventurine-900) 14%, transparent);
  /* the paper grain, its ink a touch warm to match (base.css has 0.14 0.14 0.13) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.14 0 0 0 0 0.11 0 0 0 0.055 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* Text for screen readers only: table captions whose table already explains
   itself on screen. */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
