/* Smith Property theme: taste "heritage" direction re-tuned to the client's own sign and logo.
   Light = limewashed render and slate; dark = the navy of the Smith logo square at night.
   Checked with taste/scripts/check_contrast.py. */
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../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("../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: italic; font-weight: 200 900; font-display: swap; src: url("../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; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/source-sans-3-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: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/source-sans-3-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; }

:root {
  --font-display: "Literata", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --w-display: 560;
  --tr-display: -0.02em;
  --tr-h2: -0.015em;
  --lh-display: 1.02;
  --radius: 3px;
  --radius-sm: 3px;
  --radius-button: 3px;
  --case-eyebrow: uppercase;
  --tr-eyebrow: 0.16em;
  --fs-display: clamp(2.6rem, 1.3rem + 5.2vw, 6rem);
  --fs-body: 1.0625rem;
  --bg: #f5f2ea;            /* limewashed render of a Cavan town house */
  --surface: #fcfbf7;       /* valuation report paper */
  --surface-2: #e9e4d8;     /* dry-stone wall */
  --ink: #1b1f33;           /* slate roof */
  --muted-strong: #3c4058;
  --muted: #565a6e;
  --line: #dcd6c8;
  --line-strong: #b9b2a0;
  --ink-field: #232a4d;     /* Smith navy, the logo square */
  --on-ink: #f5f2ea;
  --on-ink-muted: #c9cce0;
  --accent: #c32a40;        /* the red bar under the logo, the For Sale board */
  --accent-fill: #c32a40;
  --accent-on-fill: #ffffff;
  --accent-text: #a8233a;
  --accent-soft: #f5e0e2;
  --mark: #f2d300;          /* the yellow underline in the Smith logo (decorative only) */
  --field-1: #e9e4d8;
  --field-1-ink: #1b1f33;
  --field-2: #2f4a47;       /* Lough Oughter water under drumlins */
  --field-2-ink: #f5f2ea;
  --field-3: #232a4d;
  --field-3-ink: #f5f2ea;
  color-scheme: light dark;
}

@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121528;
    --surface: #181c33;
    --surface-2: #1d223d;
    --ink: #ece9e0;
    --muted-strong: #d2d0c8;
    --muted: #a9abbb;
    --line: rgba(236, 233, 224, 0.13);
    --line-strong: rgba(236, 233, 224, 0.26);
    --ink-field: #0c0f20;
    --on-ink: #ece9e0;
    --on-ink-muted: #c3c6d8;
    --accent: #f07b8b;
    --accent-fill: #f07b8b;
    --accent-on-fill: #121528;
    --accent-text: #f38f9c;
    --accent-soft: rgba(240, 123, 139, 0.14);
    --field-1: #232845;
    --field-1-ink: #ece9e0;
    --field-2: #20363a;
    --field-2-ink: #ece9e0;
    --field-3: #2a3262;
    --field-3-ink: #ece9e0;
  }
}
@media screen {
  :root[data-theme="dark"] {
    --bg: #121528;
    --surface: #181c33;
    --surface-2: #1d223d;
    --ink: #ece9e0;
    --muted-strong: #d2d0c8;
    --muted: #a9abbb;
    --line: rgba(236, 233, 224, 0.13);
    --line-strong: rgba(236, 233, 224, 0.26);
    --ink-field: #0c0f20;
    --on-ink: #ece9e0;
    --on-ink-muted: #c3c6d8;
    --accent: #f07b8b;
    --accent-fill: #f07b8b;
    --accent-on-fill: #121528;
    --accent-text: #f38f9c;
    --accent-soft: rgba(240, 123, 139, 0.14);
    --field-1: #232845;
    --field-1-ink: #ece9e0;
    --field-2: #20363a;
    --field-2-ink: #ece9e0;
    --field-3: #2a3262;
    --field-3-ink: #ece9e0;
  }
  :root[data-theme="light"] { color-scheme: light; }
  :root[data-theme="dark"] { color-scheme: dark; }
}
