/* Shared web fonts for every page: Prata (headings) and DM Mono (everything else). */
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Prata&display=swap');

/* Paragraphs keep normal capitalization; everything else in DM Mono is uppercase. */
p { text-transform: none; }

/* "Say hi" and "Send it" swap their label for the cream hand on hover, focus
   and press. The label only turns transparent, so the button keeps its size. */
.say-hi { position: relative; }
.say-hi::after { content: ""; position: absolute; inset: 16% 0; background: url(uploads/hand-cream.png) center / contain no-repeat; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.say-hi:not(:disabled):hover, .say-hi:not(:disabled):focus-visible, .say-hi:not(:disabled):active { color: transparent !important; }
.say-hi:not(:disabled):hover::after, .say-hi:not(:disabled):focus-visible::after, .say-hi:not(:disabled):active::after { opacity: 1; }

/* The cursor is the hand drawing: maroon over light backgrounds, cream over
   dark ones and photographs. cursor.js sets .cur-light on <html> from whatever
   is under the pointer. The click point is the middle of the hand, where
   people aim it; the 2x images keep it sharp on retina screens. Text fields
   keep the text cursor. */
html, html * { cursor: url(uploads/cursor-hand-maroon.png) 7 12, auto !important;
  cursor: -webkit-image-set(url(uploads/cursor-hand-maroon.png) 1x, url(uploads/cursor-hand-maroon@2x.png) 2x) 7 12, auto !important; }
html.cur-light, html.cur-light * { cursor: url(uploads/cursor-hand-cream.png) 7 12, auto !important;
  cursor: -webkit-image-set(url(uploads/cursor-hand-cream.png) 1x, url(uploads/cursor-hand-cream@2x.png) 2x) 7 12, auto !important; }
html input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]), html textarea { cursor: text !important; }
