/* ------------------------------------------------------------------
   Portfolio UI kit — tokens
   Every color and text style used on the site lives here.
   Add a token only when a design actually reuses the value.
   ------------------------------------------------------------------ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@700&family=Radio+Canada+Big:wght@400;500;600;700&display=swap");

:root {
  /* Colors -------------------------------------------------------- */
  --color-white: #ffffff; /* page background, text on dark fills */
  --color-black: #000000; /* primary text, tag label fill, cursor */
  --color-lime: #c2ed14;  /* accent, section 1: tag frame, connector lines */
  --color-magenta: #ea14ed; /* accent, section 2 (Skills) */
  --color-pink: #ff0051;  /* primary action: buttons */
  --color-black-10: rgba(0, 0, 0, 0.1); /* buttons over photos (case studies) */
  --color-gray-50: #f9f9f9; /* lightest preview background */
  --color-gray-100: #f2f2f2; /* light tile background */

  /* Living (case page) — the app's day colors */
  --color-living-red: #e8533b;
  --color-living-orange: #f0691f;
  --color-living-blue: #4e81c8;
  --color-living-yellow: #f9b034;
  /* App-logo shadow (Figma "dd": 0 1.25 blur 10σ 10% + 0 0.625 blur 0.625σ 25%).
     Applied in CSS, not inside the SVGs: iOS Safari renders SVG filters at low
     resolution, which blurred the whole logo on phones. */
  --shadow-logo: drop-shadow(0 1.25px 20px rgba(0, 0, 0, 0.1)) drop-shadow(0 0.625px 1.25px rgba(0, 0, 0, 0.25));
  /* Studysphere case page */
  --color-studysphere-blue: #3961f0;
  --color-studysphere-blue-25: rgba(57, 97, 240, 0.25); /* focus-style halo */
  --color-studysphere-purple: #6f4bdb;
  --color-studysphere-pink: #f5579e;
  --color-studysphere-rose: #ff459f; /* results stat tile */
  --color-studysphere-ink: #010214;

  /* Font families ------------------------------------------------- */
  --font-sans: "Radio Canada Big", system-ui, sans-serif;
  --font-logo: "Inter", system-ui, sans-serif;
}

/* Render text like Figma does. Without this, macOS thickens light-on-dark
   text (buttons, tags) so Medium reads as Semibold. */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Text styles ------------------------------------------------------
   Apply as classes: <h1 class="text-display">…</h1>
   ------------------------------------------------------------------ */

/* Hero headline — 96 / 110%, Bold, uppercase */
.text-display {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 96px;
  line-height: 1.1;
  text-transform: uppercase;
}

/* Name / subheading — 24 / 24, Medium */
.text-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 24px;
  line-height: 24px;
}

/* Wordmark — Inter 24 / 32, Bold, -4% tracking */
.text-logo {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.04em;
}

/* Label MD — 16 / 24, Medium (button labels, CV job titles) */
.text-label-md {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

/* Body — 16 / 24, Regular (case-study text, counters) */
.text-body-md {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

/* Body small — 14 / 20, Regular (CV descriptions) */
.text-body-sm {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
}

/* Caption — 12 / 16, Regular (CV dates) */
.text-caption {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
}

/* Tag label — 14 / 20, Medium */
.text-label-sm {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
}
