/* Noumilo design tokens. Palette drawn from the artwork: night over Algiers, zellige blue,
   apricot and orange-blossom gold, mint tea, fennec sand. */
@font-face { font-family: 'El Messiri'; font-weight: 400 700; font-style: normal; font-display: swap; src: url('../fonts/el-messiri-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: 'El Messiri'; font-weight: 400 700; font-style: normal; font-display: swap; src: url('../fonts/el-messiri-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Readex Pro'; font-weight: 160 700; font-style: normal; font-display: swap; src: url('../fonts/readex-pro-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: 'Readex Pro'; font-weight: 160 700; font-style: normal; font-display: swap; src: url('../fonts/readex-pro-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Young Serif'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/young-serif-400-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: 'Young Serif'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/young-serif-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Colour */
  --night: #1A2350;
  --night-2: #26316B;
  --night-3: #111839;
  --zellige: #2D55B8;
  --zellige-soft: #DCE5FA;
  --apricot: #F5A23A;
  --apricot-deep: #E58B1C;
  --gold-1: #FBE0A0;
  --gold-2: #F2B654;
  --gold-3: #C9892B;
  --menthe: #E2F0E8;
  --menthe-deep: #2F6B52;
  --sable: #F4E7D4;
  --sable-deep: #E9D5B8;
  --ink: #232847;
  --ink-soft: #545A7A;
  --paper: #FFFDF9;
  --line: rgba(35, 40, 71, .14);
  --line-night: rgba(255, 253, 249, .18);
  --danger: #B3261E;
  --success: #2F6B52;
  --sable-edge: #C9B48E; /* cut edge of card stock */

  /* Texture: paper grain for card-stock pieces (labels, the pop-up book) */
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .42 -.12'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");

  /* Type — El Messiri for stories, titles and names, Readex Pro for the interface.
     Both have an Arabic companion. Young Serif stays for the logo wordmark only. */
  --font-display: 'El Messiri', 'Iowan Old Style', Georgia, serif;
  --font-ui: 'Readex Pro', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-logo: 'Young Serif', 'Iowan Old Style', Georgia, serif;
  --display-weight: 700; /* titles, names, numbers */
  --display-track: -.005em;
  --step--2: .75rem;
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.45rem, 1.3rem + .6vw, 1.65rem);
  --step-3: clamp(1.75rem, 1.45rem + 1.3vw, 2.2rem);
  --step-4: clamp(2.1rem, 1.6rem + 2.4vw, 3.2rem);
  --step-5: clamp(2.5rem, 1.7rem + 3.9vw, 4.4rem);

  /* Shape */
  --r-pill: 999px;
  --r-panel: 18px;
  --r-card: 12px;
  --r-book: 4px;
  --r-photo: 2px;

  /* Depth */
  --shadow-book: 0 2px 3px rgba(17, 24, 57, .18), 0 18px 30px -12px rgba(17, 24, 57, .45), 0 40px 70px -30px rgba(17, 24, 57, .55);
  --shadow-soft: 0 1px 2px rgba(17, 24, 57, .08), 0 12px 32px -16px rgba(17, 24, 57, .28);
  --shadow-photo: 0 1px 2px rgba(17, 24, 57, .12), 0 10px 22px -10px rgba(17, 24, 57, .4);

  /* Space & layout */
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 8vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.45, .55, 1); /* paper pieces that overshoot a little, then settle */
  --header-h: 76px;
}
