/* Ewida — Portfolio / CV design tokens (v1.0)
   Fonts (Google Fonts):
   Adobe Clean + Adobe Clean Serif, self-hosted (fonts.css). Labels use Adobe Clean Medium in caps.
*/
:root {
  /* Neutrals */
  --paper:  #FAF9F6;  /* page background */
  --bone:   #F3F1EC;  /* cards, raised surfaces */
  --linen:  #E8E5DE;  /* dividers, subtle fills */
  --stone:  #D3CEC4;  /* borders, input outlines — never text */
  --pebble: #6E685E;  /* secondary text, labels */
  --slate:  #4A4640;  /* body text */
  --ink:    #1C1B19;  /* headings, primary buttons */

  /* Accent — under 2% of any screen */
  --accent: #B0532F;  /* terracotta */

  /* Soft tints — backdrops behind project imagery only */
  --sage:   #DDE5D6;
  --sky:    #DCE4EC;
  --butter: #F3E9C6;
  --blush:  #F1DED5;

  /* Status — "Available for projects" dot only */
  --available: #7FA36F;

  /* Type */
  --font-sans:  "Adobe Clean", system-ui, sans-serif;
  --font-serif: "Adobe Clean Serif", Georgia, serif;     /* italic, ≥28px, one phrase per heading */
  --font-mono:  "Adobe Clean", system-ui, sans-serif;  /* label face: Medium, caps, tabular numerals */

  --fs-display: 88px;  --lh-display: .95; --tr-display: -.045em;
  --fs-h1: 56px;       --lh-h1: 1.05;     --tr-h1: -.03em;
  --fs-h2: 36px;       --lh-h2: 1.15;     --tr-h2: -.02em;
  --fs-h3: 22px;       --lh-h3: 1.3;      --tr-h3: -.01em;
  --fs-body-l: 19px;   --fs-body: 16px;   --lh-body: 1.6;
  --fs-label: 12px;    --tr-label: .06em;

  /* Space (multiples of 4 — SnowUI layout + Ewida editorial) */
  --s-4px: 4px;  --s-8px: 8px;  --s-12px: 12px; --s-16px: 16px; --s-20px: 20px; --s-24px: 24px;
  --s-28px: 28px; --s-40px: 40px; --s-48px: 48px; --s-64px: 64px; --s-80px: 80px; --s-96px: 96px;
  --s-128px: 128px; --s-160px: 160px;
  --card-padding: 24px; --card-gap: 28px; --content-padding: 28px;

  /* App shell (SnowUI) */
  --sidebar-w: 212px; --header-h: 68px; --rail-w: 280px;

  /* Layout */
  --max-content: 1280px;
  --max-text: 680px;

  /* Shape */
  --radius-xs: 4px; --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 24px; --radius-pill: 999px;
  --border: 1px solid var(--linen);

  /* Elevation — screenshot mockups only */
  --shadow-lift: 0 1px 2px rgba(28,27,25,.06), 0 12px 32px -12px rgba(28,27,25,.18);

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
  --dur-fast: 200ms; --dur-base: 400ms; --dur-slow: 700ms;
}

html { background: var(--paper); color: var(--slate); font: 400 var(--fs-body)/var(--lh-body) var(--font-sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 500; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
::selection { background: var(--blush); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
