/* ============================================================
   CYPHER CORE — Design System Tokens
   Tactile Kinetic Editorial (faithful to jim380/ellamae DNA)
   ============================================================ */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/bricolage-400-core.woff2') format('woff2');
  unicode-range: U+0020-007E, U+00A0, U+00B7, U+2013-2014, U+2018-2019, U+201C-201D, U+2026;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/bricolage-400-ext.woff2') format('woff2');
  unicode-range: U+00A1-00A3, U+00A5-00AC, U+00AE-00B6, U+00B8-00FF, U+0102, U+0131, U+0152-0153;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/bricolage-600-core.woff2') format('woff2');
  unicode-range: U+0020-007E, U+00A0, U+00B7, U+2013-2014, U+2018-2019, U+201C-201D, U+2026;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/bricolage-600-ext.woff2') format('woff2');
  unicode-range: U+00A1-00A3, U+00A5-00AC, U+00AE-00B6, U+00B8-00FF, U+0102, U+0131, U+0152-0153;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/bricolage-800-core.woff2') format('woff2');
  unicode-range: U+0020-007E, U+00A0, U+00B7, U+2013-2014, U+2018-2019, U+201C-201D, U+2026;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/bricolage-800-ext.woff2') format('woff2');
  unicode-range: U+00A1-00A3, U+00A5-00AC, U+00AE-00B6, U+00B8-00FF, U+0102, U+0131, U+0152-0153;
}

:root {
  /* Core brand palette (ellamae DNA) */
  --ink:          #141520;
  --ink-90:       rgba(20, 21, 32, 0.90);
  --ink-75:       rgba(20, 21, 32, 0.75);
  --ink-60:       rgba(20, 21, 32, 0.62);
  --ink-14:       rgba(20, 21, 32, 0.14);
  --ink-07:       rgba(20, 21, 32, 0.07);

  --paper:        #F7F3EA;
  --paper-hi:     #FCF9F3;
  --paper-2:      #EFEAE0;
  --cream-80:     rgba(247, 243, 234, 0.80);
  --cream-60:     rgba(247, 243, 234, 0.62);
  --cream-18:     rgba(247, 243, 234, 0.18);
  --cream-08:     rgba(247, 243, 234, 0.08);

  --lav:          #CBB9F0;
  --lav-soft:     #E7DFFA;
  --sage:         #C1D2D8;
  --sage-soft:    #DFE9EC;
  --blush:        #F0D1D7;
  --blush-soft:   #F8E6EA;
  --butter:       #FAE4C9;
  --butter-soft:  #FCF0E0;
  --grape:        #5B3FA8;

  /* Semantic status inks (WCAG AA compliant) */
  --ok-ink:       #1F6338;
  --ok-bg:        #D5EBD9;
  --ok-on-dark:   #9CE0B9;
  --deny-ink:     #9C2D23;
  --deny-bg:      #F7D5D2;

  /* Borders, radii & hard offset shadows */
  --line-w:       2px;
  --radius:       18px;
  --radius-sm:    12px;
  --radius-xs:    8px;
  --pill:         999px;

  --sh-lg:        10px 10px 0 var(--ink);
  --sh:           7px 7px 0 var(--ink);
  --sh-sm:        4px 4px 0 var(--ink);
  --sh-xs:        2px 2px 0 var(--ink);

  /* Typography */
  --font-sans:    'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;

  /* Spacing & container */
  --wrap-max:     1320px;
  --wrap-pad:     clamp(20px, 4.5vw, 56px);
  --nav-h:        72px;

  /* Motion (Emil Kowalski custom curves) */
  --ease-out:     cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out:  cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer:  cubic-bezier(0.32, 0.72, 0, 1);
  --dur-press:    140ms;
  --dur-fast:     180ms;
  --dur-med:      280ms;
  --dur-slow:     460ms;

  /* Semantic z-index scale */
  --z-base:       1;
  --z-above:      10;
  --z-floating:   60;
  --z-drawer:     80;
  --z-sticky:     90;
  --z-progress:   95;
  --z-skip:       100;
}
