
:root {
  --leaf-hi: #f6e3a6;
  --leaf: #e0b85c;
  --leaf-lo: #a87a1c;
  --leaf-deep: #6e4f0c;
  --leaf-edge: #3a2806;
  --leaf-paint:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .75 0 0 0 -.38'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--leaf-hi) 4%, var(--leaf) 34%, var(--leaf-hi) 47%, var(--leaf) 55%, var(--leaf-lo) 76%, var(--leaf-deep) 92%, var(--leaf-lo));
  --leaf-stroke-w: max(0.75px, 0.014em);
}
.chapter-header .chapter-margin { position: relative; }
.chapter-header .chapter-num::before {
  font-weight: 500;
  color: transparent;
  background-image: var(--leaf-paint);
  background-size: 120px 120px, 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: var(--leaf-stroke-w) var(--leaf-edge);
  paint-order: stroke fill;
}
.chapter-header .chapter-num.gold-lit::before { visibility: hidden; }
.gold-leaf-canvas { position: absolute; pointer-events: none; z-index: 0; }
@media (forced-colors: active) {
  .chapter-header .chapter-num::before { color: CanvasText; -webkit-text-fill-color: currentColor; -webkit-text-stroke: 0; background-image: none; }
}
.chapter-mark .heb-g, .chapter-mark.is-greek, .room-hebrew {
  color: var(--leaf);
  background-image: var(--leaf-paint);
  background-size: 120px 120px, 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.35px var(--leaf-edge);
  paint-order: stroke fill;
}
.chapter-mark:hover .heb-g, .chapter-mark:focus-visible .heb-g, .chapter-mark.is-greek:hover, .chapter-mark.is-greek:focus-visible { filter: brightness(1.12); }
@media (forced-colors: active) {
  .chapter-mark .heb-g, .chapter-mark.is-greek, .room-hebrew { -webkit-text-fill-color: currentColor; -webkit-text-stroke: 0; background-image: none; }
}
:root { --gold-soft: linear-gradient(180deg, #E3C987 0%, #C79D4E 55%, #A9813A 100%); --gold-soft-flat: #C49A4C; }
.hero-shine {
  display: inline-block;
  color: var(--gold-soft-flat);
  background-image: var(--gold-soft);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (forced-colors: active) { .hero-shine { -webkit-text-fill-color: currentColor; background-image: none; } }
[data-gold-leaf] {
  position: relative; display: inline-block;
  font-weight: 450;
  background-image: var(--leaf-paint);
  background-size: 120px 120px, 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: var(--leaf-stroke-w) var(--leaf-edge);
  paint-order: stroke fill;
}
[data-gold-leaf].gold-lit { background-image: none; -webkit-text-stroke: 0; }
@media (forced-colors: active) {
  [data-gold-leaf] { -webkit-text-fill-color: currentColor; -webkit-text-stroke: 0; background-image: none; }
}
