/* Tonsor design tokens. The shop seen from the sidewalk to the chair: white marble wall (paper), black chairs (ink),
 * the red and navy of the pole, chrome on the tools, and the shop after hours (night) for the dark bands.
 * Change --red and --navy to recolor the pole, the buttons and the links; everything else derives from them.
 * Fonts ship with the template (SIL OFL, see assets/fonts/OFL-*.txt): no request to Google Fonts. */
@font-face { font-family: "Rokkitt"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/rokkitt-latin.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: "Rokkitt"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/rokkitt-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/literata-latin.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: 400 700; font-display: swap; src: url(../fonts/literata-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 400 600; font-display: swap; src: url(../fonts/literata-italic-latin.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: italic; font-weight: 400 600; font-display: swap; src: url(../fonts/literata-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  /* color: the marble wall, the chairs, the pole */
  --paper:      oklch(97.3% 0.005 95);
  --paper-2:    oklch(94.3% 0.008 91);
  --paper-3:    oklch(89% 0.009 88);
  --ink:        oklch(18% 0.009 75);
  --ink-2:      oklch(40% 0.014 80);
  --muted:      oklch(47% 0.014 80);
  --red:        oklch(50.7% 0.195 28);
  --red-deep:   oklch(42% 0.17 28);
  --red-light:  oklch(70% 0.17 28);       /* red that reads on the night bands */
  --navy:       oklch(33.6% 0.127 279);
  --navy-light: oklch(76% 0.08 279);
  --chrome:     oklch(84% 0.003 49);
  --tan:        oklch(65.8% 0.054 78);     /* hairlines and the mirror frame only, never text */
  --glass:      oklch(99% 0.002 95);
  --night:      oklch(16% 0.008 75);       /* the shop after hours */
  --night-2:    oklch(21% 0.009 75);
  --night-line: oklch(31% 0.01 75);
  --on-night:   oklch(95% 0.005 95);
  --on-night-2: oklch(79% 0.01 85);
  --focus:      oklch(50.7% 0.195 28);
  --error:      oklch(48% 0.17 27);
  --ok:         oklch(45% 0.1 152);
  --shadow:     oklch(18% 0.009 75 / 0.16);
  --scrim:      oklch(16% 0.008 75 / 0.62);
  /* gradients: every veil, chrome edge and night surface comes from here */
  --grad-night: linear-gradient(170deg, var(--night) 0%, var(--night-2) 60%, oklch(24% 0.02 279) 100%);
  --grad-veil: linear-gradient(90deg, color-mix(in oklch, var(--night) 86%, transparent) 0%, color-mix(in oklch, var(--night) 40%, transparent) 58%, transparent 100%);
  --grad-chrome: linear-gradient(180deg, var(--glass) 0%, var(--chrome) 45%, var(--paper-3) 100%);
  --grad-stripes: repeating-linear-gradient(-45deg, var(--red) 0 10px, var(--glass) 10px 20px, var(--navy) 20px 30px, var(--glass) 30px 40px);
  /* type: a slab in capitals for what hangs on the wall (titles, prices), a text serif for everything read */
  --font-display: "Rokkitt", "Rockwell", "Arial Narrow", serif;
  --font-body: "Literata", "Iowan Old Style", Georgia, serif;
  --text-xs: 0.8rem; --text-sm: 0.9rem; --text-base: 1.0625rem; --text-md: 1.25rem; --text-lg: 1.5rem; --text-xl: 1.9rem;
  --text-2xl: clamp(2rem, 1.3rem + 2.4vw, 2.7rem); --text-3xl: clamp(2.4rem, 1.5rem + 3.4vw, 3.6rem);
  --text-display: clamp(3.1rem, 1.6rem + 6vw, 6.2rem); --text-price: clamp(2.6rem, 1.6rem + 3vw, 3.8rem);
  /* space */
  --space-3xs: .25rem; --space-2xs: .5rem; --space-xs: .75rem; --space-sm: 1rem; --space-md: 1.5rem; --space-lg: 2rem;
  --space-xl: 3rem; --space-2xl: 4.5rem; --space-3xl: 6.5rem;
  --wrap: 76rem; --wrap-text: 44rem;
  /* machined: 2 px corners on buttons, fields and cards; the only circle is the mirror, the only pill the open chip */
  --radius: 2px; --radius-pill: 999px;
  --rule: 1px solid var(--paper-3); --rule-ink: 1px solid var(--ink); --rule-night: 1px solid var(--night-line);
  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); --ease-in: cubic-bezier(0.55, 0, 1, 0.45); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 140ms; --dur-short: 260ms; --dur-long: 640ms;
  --z-raised: 10; --z-sticky: 200; --z-modal: 400;
}
@media (prefers-reduced-motion: reduce) { :root { --dur-micro: 1ms; --dur-short: 1ms; --dur-long: 1ms; } }
