/* Jigwalk city skin: Chiang Mai, the old city of Lanna. The weathered brick of the walls, bastions and chedis, the green
   water of the moat that runs all the way round the square, oiled teak, Lanna gold leaf on the gables, the warm mulberry
   paper of lanterns and umbrellas in morning light, and the forest on Doi Suthep above the city.
   No Buddha images, royal emblems, Garuda or Lanna script are used. Brick, water, teak, gold leaf, paper and light only.
   Overrides --city-* tokens only. Palette, face and reasoning in play/themes/chiangmai/DESIGN.md. */
@font-face { font-family: "Fahkwang"; src: url(../fonts/fahkwang-700-latin.woff2) format("woff2"); font-weight: 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fahkwang"; src: url(../fonts/fahkwang-700-latin-ext.woff2) format("woff2"); font-weight: 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fahkwang"; src: url(../fonts/fahkwang-700-thai.woff2) format("woff2"); font-weight: 700; font-display: swap;
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }

[data-city="chiangmai"] {
  --city-ground: oklch(0.962 0.019 70);      /* #fbf1e5  lamp paper: mulberry paper in morning light */
  --city-ground-2: oklch(0.915 0.028 62);    /* #f1dfd1  the same paper in shade, a little brick dust in it */
  --city-ink: oklch(0.23 0.03 48);           /* #291910  oiled teak, nearly black; 15.2:1 on ground */
  --city-ink-2: oklch(0.39 0.04 48);         /* #573f32  dry teak; 8.7:1 on ground, 7.5:1 on ground-2 */
  --city-lead: oklch(0.51 0.135 38);         /* #a44425  old-city brick; paper on it 5.7:1 */
  --city-on-lead: oklch(0.975 0.012 75);     /* #fcf6ee */
  --city-deep: oklch(0.31 0.04 52);          /* #412a1d  old teak boards; paper on it 12.4:1 */
  --city-on-deep: oklch(0.975 0.012 75);
  --city-accent: oklch(0.82 0.15 86);        /* #efbc3a  Lanna gold leaf; ink on it 9.6:1, 7.6:1 on deep */
  --city-on-accent: oklch(0.23 0.03 48);
  --city-gilt: oklch(0.48 0.095 72);         /* #7e5312  gold leaf in shade, for gold as small text on ground (6.0:1) */
  --city-moat: oklch(0.55 0.065 158);        /* #507d63  the moat, green water under the trees. Signature only, never text */
  --city-forest: oklch(0.47 0.09 140);       /* #3e6735  the forest on Doi Suthep; 5.9:1 on ground */
  --city-display: "Fahkwang", Georgia, serif;
  --city-display-stretch: 100%;              /* Fahkwang, a Thai and Latin face from Cadson Demak, at 700: wide, flared, */
  --city-display-weight: 700;                /* cut-looking strokes like lettering carved into a teak signboard. No */
  --city-display-case: none;                 /* other city uses it; it carries Thai if a sourced Thai word ever needs it */
  --city-display-track: -0.005em;
  /* Running-bond brick coursing: the old city wall, lines only. */
  --city-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='16' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M0 0.7H48M0 8.7H48M12 0.7V8.7M36 0.7V8.7M0 8.7V16M24 8.7V16M48 8.7V16'/%3E%3C/svg%3E");
  --city-motif-size: 48px;
  --city-motif-ink: color-mix(in oklch, var(--city-ink) 8%, transparent);
  --city-grade: saturate(1.04) contrast(1.04) brightness(1.02) sepia(0.04);   /* warm, clear northern morning, brick glowing */
}
