/* Wizardy Magic theme: a Victorian playbill.
   Direction: poster structure with heritage colour, re-tuned from the subject.
   Palette names come from the close-up performer's world. */

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/fonts/playfair-display-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("/fonts/playfair-display-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 200 700; font-display: swap; src: url("/fonts/oswald-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2"); }

:root {
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-bill: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --w-display: 800;
  --tr-display: -0.01em;
  --tr-h2: -0.01em;
  --lh-display: 0.95;
  --radius: 0px;
  --radius-sm: 0px;
  --radius-button: 0px;
  --case-eyebrow: uppercase;
  --tr-eyebrow: 0.18em;
  --fs-display: clamp(3.2rem, 1rem + 12vw, 10.5rem);
  --fs-body: 1.0625rem;

  /* playbill paper: the cream stock a theatre bill is printed on */
  --bg: #f3ead8;
  /* card stock: the white of a fresh deck */
  --surface: #fbf6ec;
  /* programme tint: the aged inside page of a programme */
  --surface-2: #e9dcc1;
  /* printer's black */
  --ink: #1d1512;
  --muted-strong: #45362c;
  --muted: #5f4c3f;
  --line: #d6c6a6;
  --line-strong: #1d1512;
  /* velvet curtain: the deep red house curtain */
  --ink-field: #4a0d14;
  --on-ink: #f6ecd8;
  --on-ink-muted: #e3cfa9;
  /* curtain red as the signal */
  --accent: #9a1b25;
  --accent-fill: #8f1822;
  --accent-on-fill: #fbf6ec;
  --accent-text: #8a1720;
  --accent-soft: #f0d9c8;
  /* footlight gold */
  --gold: #b8892f;
  --field-1: #d9b45e;
  --field-1-ink: #1d1512;
  /* curtain red field */
  --field-2: #8f1822;
  --field-2-ink: #fbf6ec;
  /* green baize: the close-up mat */
  --field-3: #1e4536;
  --field-3-ink: #f3ead8;
  color-scheme: light dark;
}

@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    /* stage dark: the auditorium with the house lights down */
    --bg: #15100e;
    --surface: #1e1714;
    --surface-2: #261d19;
    --ink: #f3ead8;
    --muted-strong: #dccdb3;
    --muted: #b7a58c;
    --line: rgba(243, 234, 216, 0.16);
    --line-strong: #f3ead8;
    --ink-field: #3a0a10;
    --on-ink: #f6ecd8;
    --on-ink-muted: #e3cfa9;
    --accent: #e2b65c;
    --accent-fill: #e2b65c;
    --accent-on-fill: #15100e;
    --accent-text: #e8c06c;
    --accent-soft: rgba(226, 182, 92, 0.14);
    --gold: #e2b65c;
    --field-1: #c9a04a;
    --field-1-ink: #15100e;
    --field-2: #7a141d;
    --field-2-ink: #f6ecd8;
    --field-3: #1a3c2f;
    --field-3-ink: #f3ead8;
  }
}
@media screen {
  :root[data-theme="dark"] {
    --bg: #15100e;
    --surface: #1e1714;
    --surface-2: #261d19;
    --ink: #f3ead8;
    --muted-strong: #dccdb3;
    --muted: #b7a58c;
    --line: rgba(243, 234, 216, 0.16);
    --line-strong: #f3ead8;
    --ink-field: #3a0a10;
    --on-ink: #f6ecd8;
    --on-ink-muted: #e3cfa9;
    --accent: #e2b65c;
    --accent-fill: #e2b65c;
    --accent-on-fill: #15100e;
    --accent-text: #e8c06c;
    --accent-soft: rgba(226, 182, 92, 0.14);
    --gold: #e2b65c;
    --field-1: #c9a04a;
    --field-1-ink: #15100e;
    --field-2: #7a141d;
    --field-2-ink: #f6ecd8;
    --field-3: #1a3c2f;
    --field-3-ink: #f3ead8;
  }
  :root[data-theme="light"] { color-scheme: light; }
  :root[data-theme="dark"] { color-scheme: dark; }
}
