/* Shared heading rhythm, loaded after feature styles so spacing is consistent.
   Keep body copy, navigation, badges and decorative drop caps unchanged. */
:root{--heading-leading:1.16}

#main :is(h1,h2,h3,h4,h5,h6,
  .room__name,.drawer__title,.ss-door__name,
  .tg-door__title,.tg-pick__title,.hx-ch__t){
  line-height:var(--heading-leading);
}

/* Chapter numerals sit above their titles, rather than touching the first line. */
#main .hx-ch__title{gap:clamp(.8rem,1.5vw,1.2rem)}
#main .hx-ch__no{line-height:1}

/* These section numbers are stacked; grid-aligned side numbers stay unchanged. */
#main :is(.cabinet__intro,.style-band__text,.guides__text)>.sechead__no{
  margin-bottom:1rem;
  line-height:1;
}

/* The small book teaser uses serif type and retains its more generous leading. */
#main .hx-book--teaser .hx-book__title{line-height:1.3}
