/* Colours, type and shapes. Everything else in css/ is built from these names.

   One quiet look, in a light and a dark version: <html data-theme="light | dark">
   (set by js/theme-boot.js from the visitor's device, or their own choice).
   One typeface and one accent colour. A hairline where a line is needed, and no
   shadow except under what floats over the page (the list under the search box,
   the card of a picked sale).

   --ramp-1..7  map pins from cheapest to dearest      --year-1..6  pins by year, oldest first
   --div-1..5   pins against the City's valuation, from sold well under it to well over it
   --map-*      the ground under the pins (read by js/map/theme.js)
   --below / --in-line / --above / --far-above   the four verdicts on an asking price */

@font-face { font-family: "Geist"; src: url("../fonts/geist-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --top-h: 56px;
  --tab-h: 0px;
  --panel-w: 420px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 10px; --radius-s: 8px; --pill: 999px;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --bg: #FBFCFB; --raise: #FFFFFF; --soft: #EFF2F1;
  --ink: #17211F; --ink-2: #51605C; --ink-3: #64706C;
  --line: #E3E8E6; --line-2: #CCD4D1;
  --accent: #1E6E72; --on-accent: #FFFFFF;
  --focus: #1E6E72;
  --float: 0 10px 34px rgba(23, 33, 31, .16);

  --below: #1B7A52; --in-line: #1E6E72; --above: #9A5806; --far-above: #B3332A;

  --ramp-1: #A6D3D1; --ramp-2: #80C0BF; --ramp-3: #5BAAAB; --ramp-4: #3B9294; --ramp-5: #23777B; --ramp-6: #135A5F; --ramp-7: #093B40;
  --year-1: #BFD0CE; --year-2: #93B9B7; --year-3: #62A0A0; --year-4: #328488; --year-5: #17666B; --year-6: #0A454B;
  --div-1: #2E7FB8; --div-2: #9CC3DC; --div-3: #C3CBC8; --div-4: #E3B27A; --div-5: #BF761A;

  --map-land: #F1F3F2; --map-urban: #F6F7F6; --map-farm: #EAF0EA; --map-grass: #E4ECE5; --map-scrub: #E6EDE6; --map-wood: #DEE8DF; --map-park: #E4ECE5;
  --map-sand: #F1EDDD; --map-wetland: #DDE9E7; --map-sea: #D5E3E6; --map-water: #D5E3E6;
  --map-coast: #B7CBCE; --map-coast-width: 1; --map-stream: #C2D6DA;
  --map-road: #FFFFFF; --map-road-thin: #C3CCC9; --map-road-alpha: .75; --map-road-mid: #FFFFFF; --map-road-major: #FFFFFF; --map-road-casing: #D8DEDC;
  --map-rail: #C3CCC9;
  --map-label: #5E6966; --map-label-strong: #17211F; --map-label-water: #4C686D; --map-label-park: #546B58; --map-halo: #F6F7F6;
  --map-pin-edge: #FFFFFF; --map-pin-edge-width: .75; --map-pin-none: #B4BEBB;
  --map-select: #17211F; --map-subject: #1E6E72; --map-hull: #51605C;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #101514; --raise: #171D1C; --soft: #1D2524;
  --ink: #E8EEEC; --ink-2: #A4B0AD; --ink-3: #82908C;
  --line: #232C2A; --line-2: #34403D;
  --accent: #74BFC1; --on-accent: #0C1413;
  --focus: #74BFC1;
  --float: 0 14px 44px rgba(0, 0, 0, .5);

  --below: #6FD1A0; --in-line: #74BFC1; --above: #E6B25E; --far-above: #F0857B;

  --ramp-1: #2F5B5E; --ramp-2: #3A7476; --ramp-3: #478E90; --ramp-4: #5AA9AA; --ramp-5: #7CC3C2; --ramp-6: #A9DBD8; --ramp-7: #E0F4F1;
  --year-1: #35504F; --year-2: #447372; --year-3: #589A99; --year-4: #7CBEBB; --year-5: #ADDCD8; --year-6: #E0F4F1;
  --div-1: #5AA7DB; --div-2: #3A6B8C; --div-3: #57615E; --div-4: #8C6C3D; --div-5: #E0A857;

  --map-land: #141A19; --map-urban: #181F1E; --map-farm: #161E1A; --map-grass: #162019; --map-scrub: #152019; --map-wood: #14201A; --map-park: #151F1A;
  --map-sand: #1E211B; --map-wetland: #13201F; --map-sea: #0B1011; --map-water: #0D1314;
  --map-coast: #25302E; --map-coast-width: 1; --map-stream: #15272A;
  --map-road: #222B29; --map-road-thin: #222B29; --map-road-alpha: .7; --map-road-mid: #28322F; --map-road-major: #323D3A; --map-road-casing: none;
  --map-rail: #2B3533;
  --map-label: #7B8A86; --map-label-strong: #D5DCDA; --map-label-water: #5F888D; --map-label-park: #6D8D78; --map-halo: #141A19;
  --map-pin-edge: #101514; --map-pin-edge-width: .75; --map-pin-none: #4B5754;
  --map-select: #FFFFFF; --map-subject: #74BFC1; --map-hull: #A4B0AD;
  color-scheme: dark;
}
