/*
 * Acquerello: the Empedocles visual system shared by setup, owner chat and terms.
 * Sicilian scenery in real, coloured ASCII on flat cotton paper. One deliberate light theme. Fonts are self-hosted (SIL OFL, see assets/fonts).
 */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/eb-garamond-latin.woff2?v=88603384163d') format('woff2');
  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: 'EB Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/eb-garamond-latin-ext.woff2?v=f8d3fa06e209') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    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: 'EB Garamond';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/eb-garamond-italic-latin.woff2?v=c664773f7e1d') format('woff2');
  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: 'Parisienne';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/parisienne-latin.woff2?v=cf3c285d1ec1') format('woff2');
  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: 'EB Garamond';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/eb-garamond-italic-latin-ext.woff2?v=fa866520f8b7') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    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;
}

:root {
  color-scheme: light;
  /* Coloured ASCII on flat paper, with one cobalt wash for actions. */
  --cobalt: #3a5aa8;
  --cobalt-deep: #2c4789;
  --cobalt-quiet: #8fa4d8;
  --ink: #2e2620;
  --body: #3b332b;
  --cream: #f8f4e9;
  --paper: #fffdf7;
  --vellum: #efe6cf;
  --veil: #f1eadb;
  --rule: #e3d9c6;
  --rule-strong: #d9cfba;
  --muted: #5d554a;
  --hushed: #746a5c;
  --sky: #8fa4d8;
  --on-cobalt-muted: rgb(247 241 227 / 0.82);
  --on-cobalt-rule: rgb(247 241 227 / 0.4);
  /* The ASCII inks: markers, rules and illustrations share them. */
  --ink-pink: #ed247a;
  --ink-leaf: #618726;
  --ink-gold: #cd8a24;
  --ink-todo: #a39a88;
  --ink-dots: #b9ae98;
  /* Errors must still read as errors on warm paper. */
  --danger: #9b2c1f;
  --shadow: 0 18px 30px -26px rgb(70 50 20 / 0.45);
  --serif: 'EB Garamond', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --script: 'Parisienne', 'Snell Roundhand', 'Apple Chancery', cursive;
  --mono: 'Courier New', ui-monospace, monospace;
  font-family: var(--serif);
  font-synthesis: none;
  font-variant-numeric: oldstyle-nums;
  color: var(--ink);
  background-color: var(--cream);
}
/* Handwritten captions under the paintings, as on the postcards. Never for actions or data. */
.script {
  font-family: var(--script);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}
/* Illustrations are drawn on transparent paper so they sit on any card. */
.art {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none;
}
.caps {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 500;
}
.rule-under::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  margin-top: 10px;
  background: currentColor;
}
.mark {
  flex: none;
  display: block;
}
.tabular {
  font-variant-numeric: lining-nums tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
