@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/hazen/fonts/literata-latin-wght-normal.woff2") 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: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/hazen/fonts/literata-latin-ext-wght-normal.woff2") 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/hazen/fonts/literata-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Literata";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("/hazen/fonts/literata-latin-wght-italic.woff2") 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;
}
/*
 * World: gallery. Folio & Frame, a print and frame shop.
 * Link after /hazen/hazen.css and set <html data-world="gallery">.
 *
 * A gallery on hanging day: plaster walls, prints at their true proportions,
 * a caption beside each one, and the small red dot that means "sold". The
 * walls stay quiet so the pictures carry the colour; a room may be painted
 * whole with data-material.
 */
@layer base {
  [data-world="gallery"] {
    --w-bg-l: #eae8e3;
    --w-bg-d: #131210;
    --w-raise-l: #dfdcd5;
    --w-raise-d: #1a1916;
    --w-surface-l: #f5f4f0;
    --w-surface-d: #21201c;
    --w-surface2-l: #d1cdc4;
    --w-surface2-d: #2e2c27;
    --w-text-l: #171512;
    --w-text-d: #efede8;
    --w-text2-l: #45413b;
    --w-text2-d: #bdb9b1;
    --w-text3-l: #57524a;
    --w-text3-d: #9c978e;
    --w-line: 16%;
    --w-line-strong: 44%;
    --hz-accent-l: #c23a24;
    --hz-accent-l-strong: #a52e1b;
    --hz-on-accent-l: #f2f4f4;
    --hz-accent-text-light: #a52c19;
    --hz-accent-d: #ff8e77;
    --hz-accent-d-strong: #ffad9b;
    --hz-accent-text-dark: #ff8e77;
    --hz-font-display: "Literata", ui-serif, Georgia, "Times New Roman", serif;
    --hz-font-serif: var(--hz-font-display);
    --hz-heading-settings: normal;
    --hz-display-settings: normal;
    --hz-heading-weight: 500;
    --hz-display-weight: 450;
    --hz-tracking-display: -0.025em;
    --hz-tracking-h1: -0.02em;
    --hz-tracking-h2: -0.015em;
    --hz-tracking-h3: -0.01em;
    --hz-leading-display: 1;
    --hz-leading-h1: 1.04;
    --hz-leading-h2: 1.1;
  }
}
@layer components {
  /* The red dot: one mark, for one meaning (in the cart, sold, chosen). */
  [data-world="gallery"] .hz-dot {
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    border-radius: 50%;
    background: var(--hz-accent);
    vertical-align: 0.02em;
  }
  /* A wall caption: title, medium, size, price, set beside the work. */
  [data-world="gallery"] .hz-caption-card {
    padding: 12px 14px;
    background: var(--hz-surface);
    border: 1px solid var(--hz-line);
    font-size: var(--hz-text-xs);
    line-height: 1.45;
    color: var(--hz-text-2);
  }
  [data-world="gallery"] .hz-caption-card strong {
    display: block;
    font-family: var(--hz-font-display);
    font-size: var(--hz-text-sm);
    font-style: italic;
    font-weight: 500;
    color: var(--hz-text);
  }
  [data-world="gallery"] .hz-em {
    background: none;
    font-style: italic;
  }
  [data-world="gallery"] .hz-card--interactive::after {
    width: 10px;
    height: 10px;
    top: 10px;
    right: 10px;
    border-radius: 50%;
    background: transparent;
  }
  [data-world="gallery"] .hz-card--interactive:is(:hover, :focus-within)::after {
    background: var(--hz-accent);
  }
}
