:root { --artboard-backdrop: #d9cba8; --paper: #efe3c6; --navy: #1c2b45; --red: #b8352a; }
.artboard { width: 1080px; height: 1440px; background: var(--paper); }
#art, #type { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#type text { font-family: 'Gill Sans', var(--kit-humanist); fill: var(--navy); }
#type .x { font-family: 'Futura', var(--kit-geometric); font-weight: 800; font-stretch: condensed; }
#type .xm { font-family: 'Futura', var(--kit-geometric); font-weight: 500; font-stretch: condensed; }
#type .g { font-weight: 600; }
#type .gr { font-weight: 400; }
#type .num { font-variant-numeric: tabular-nums; }
/* Gill Sans has no ş, ğ or İ: Turkish text takes Avenir Next. */
:root:lang(tr) #type text { font-family: 'Avenir Next', var(--kit-sans); }
:root:lang(tr) #type .x, :root:lang(tr) #type .xm { font-family: 'Futura', var(--kit-geometric); }

/* With real art (kit/artboard.js): the drawn sun, mountains and rider step aside; the heads, the
   profile's labels, the inset and the legend stay above the picture, on paper kept behind the heads
   and the foot. */
#type { z-index: 2; }
html[data-art] .artboard::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgb(239 227 198 / 0.88), rgb(239 227 198 / 0.75) 370px, transparent 420px),
    linear-gradient(to top, rgb(239 227 198 / 0.9), rgb(239 227 198 / 0.78) 260px, transparent 300px);
}
/* A paper halo under the labels that sit on the picture (not the figures set in paper on the badges). */
html[data-art] #type text:not([style*="fill"]) { paint-order: stroke; stroke: rgb(239 227 198 / 0.85); stroke-width: 5px; stroke-linejoin: round; }
