/* Parchment theme — warm cream paper with subtle grain and radial vignette.
   For autobiographical and atmospheric pieces. Family bible, oil lamp.

   Variables keep the Night-theme vocabulary but their values shift: --night
   becomes the cream page surface, --candle becomes rust, --ember a deeper
   rust. The metaphor stretches; the role stays the same. */

[data-theme="parchment"] {
  /* Bone-white, not dentist-office cream — high luminance with just enough
     warmth to read as paper rather than digital white. */
  --night:        #f4eede; /* the page, in bone */
  --hush:         #ece4cf; /* a quieter shade of the bone */
  --night-card:   #e4dbc1; /* raised surface */
  --bone:         #1f1410; /* deep ink for body text */
  --bone-dim:     #3a2818; /* softer ink */
  --whisper:      #8a704c; /* faint warm tan */
  --rule:         #cbb78b;
  --candle:       #7a2811; /* rust */
  --candle-dim:   #5a1d0c; /* deeper rust */
  --ember:        #b8731f; /* warmer ember accent */
  --candle-flame: #c84618;
  --candle-glow:  rgba(200, 70, 24, 0.32);
  --candle-wax:   #f4eede;

  /* Atmospheric layers — multiply-blend so the rust glow sits in the paper
     without darkening the bone. Toned down from the original parchment to
     keep the new lighter surface from going chalky in the corners. */
  --vignette-1:    rgba(122, 90, 50, 0.12);
  --vignette-2:    rgba(122, 90, 50, 0.10);
  --vignette-edge: rgba(80, 50, 25, 0.10);
  --vignette-blend: multiply;
  --grain-opacity:  0.10;
  --grain-blend:    multiply;
}

[data-theme="parchment"] .topnav {
  background: rgba(244, 238, 222, 0.92);
}

[data-theme="parchment"] .candle__core { fill: #ffe4b0; }
