/*
 * Direction "Výloha" (shop window).
 * World: a First Republic shopfront. Enamel sign plates, painted lettering, a sheet of glass, a price tag.
 * Rejects: glow, blur and gradients.
 * Signature move: every key card stands in front of an offset sheet of glass (--pane-*).
 */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url("fonts/bricolage-grotesque-latin-ext-wdth-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: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url("fonts/bricolage-grotesque-latin-wdth-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: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("fonts/instrument-sans-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: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("fonts/instrument-sans-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;
}

:root {
  /* Colour roles. Text on --accent is always --panel (5.05:1). */
  --surface: #F3EDDC;        /* page, enamel cream */
  --surface-alt: #E8DDC2;    /* alternate band, kraft */
  --surface-tint: #D9E7DF;   /* cool band and the glass sheet */
  --panel: #FCF9F0;          /* cards */
  --ink: #11231C;            /* text, outlines, dark bands, bottle green */
  --ink-soft: #48584F;       /* secondary text */
  --accent: #C7351B;         /* calls to action, vermilion */
  --accent-strong: #A32A13;  /* accent as text on light, hover */
  --highlight: #F0BF2E;      /* price tags, mustard */
  --line: #CDC3A8;           /* hairlines */

  /* Type */
  --font-display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", sans-serif;
  --font-label: "Instrument Sans", "Helvetica Neue", sans-serif;
  --display-weight: 800;
  --display-stretch: 84%;
  --display-tracking: -0.025em;
  --display-leading: 0.98;
  --heading-weight: 700;
  --heading-leading: 1.12;
  --font-relic: "Times New Roman", Times, serif; /* the outdated site in the hero illustration */
  --label-weight: 700;
  --label-tracking: 0.14em;
  --label-case: uppercase;
  --body-leading: 1.6;

  --text-xs: 0.75rem;
  --text-s: 0.875rem;
  --text-m: 1.0625rem;
  --text-l: 1.1875rem;
  --text-xl: 1.5rem;
  --text-2xl: clamp(1.875rem, 1.5rem + 1.6vw, 2.5rem);
  --text-3xl: clamp(2.125rem, 1.4rem + 3.2vw, 3.5rem);
  --text-hero: clamp(2.75rem, 1.3rem + 6.4vw, 5.5rem);

  /* Space */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --container: 77.5rem;
  --measure: 44rem;
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --band-pad: clamp(3.5rem, 2rem + 6vw, 6.5rem);

  /* Shape */
  --radius-s: 0.375rem;
  --radius-m: 0.75rem;
  --radius-l: 1.125rem;
  --radius-pill: 999px;
  --border: 2px;
  --hairline: 1px;
  --tilt: -1.5deg;           /* hand-set tags and stickers */
  --focus: var(--accent-strong);

  /* Signature: the sheet of glass behind a card */
  --pane-offset: 0.625rem;
  --pane-fill: var(--surface-tint);
  --pane-line: var(--ink);
  --pane-fill-on-tint: var(--surface);
  --pane-fill-on-dark: var(--accent);
  --pane-line-on-dark: var(--accent);
  --pane-fill-on-accent: var(--ink);
  --pane-line-on-accent: var(--ink);
}
