:root {
  /* Typography — this fixed set of sizes only, never anything else */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-hero: 90px;
  --font-size-project-title: 64px;
  --font-size-card-title: 32px;
  --font-size-section-title: 18px;
  --font-size-body: 16px;
  --font-size-caption: 12px;

  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;

  --letter-spacing-tight: -0.06em; /* -6%, used by hero + project title */
  --letter-spacing-snug: -0.02em; /* -2%, used by card title */

  /* Text color — exactly 2, never anything else */
  --color-text-primary: #000000;
  --color-text-secondary: rgba(0, 0, 0, 0.5);

  /* Surface / structural colors (non-text) */
  --color-bg-page: #f9f6f0;
  --color-card-bg: #ffffff;
  --color-card-border: rgba(0, 0, 0, 0.15);
  --color-nav-active-bg: #303030;
  --color-nav-hover-bg: rgba(0, 0, 0, 0.06);
  --color-nav-gradient-end: #f0f0f0;
  --color-nav-scrolled-bg-start: #fffbef;
  --color-nav-scrolled-bg-end: #fbecab;
  --color-nav-active-gradient-start: #4d4d4d;
  --color-nav-active-gradient-end: #000000;

  /* Layout */
  --content-width: 645px;
  --card-radius: 24px;
  --card-padding: 24px;
  --card-gap: 24px;
  --card-visual-width: 260px;
  --card-height: 275px;

  /* Project pages — wider than the home page's 645px column, on two measures:
     a narrow one for reading text, a wide one for media galleries. */
  --project-text-width: 550px;
  --project-media-width: 1050px;

  /* Embedded 16:9 presentation — as wide as the window allows, while keeping
     the whole slide on screen at once. */
  --project-deck-width: min(calc(100vw - 64px), calc((100vh - 64px) * 16 / 9));

  /* Experiments page — wide bento grid, wider than a project's media gallery. */
  --experiments-width: 1100px;

  /* Media placeholders (stand in for images not yet added) */
  --color-placeholder-bg: #e4e4e4;
  --placeholder-radius: 12px;

  /* Dark surface — used only by the black variant of media cards.
     Text tokens above stay black-only; these are scoped exclusively
     to .card--media-dark, never used on the page background or light cards. */
  --color-card-bg-dark: #000000;
  --color-card-border-dark: rgba(255, 255, 255, 0.15);
  --color-text-on-dark: #ffffff;
  --color-text-on-dark-secondary: rgba(255, 255, 255, 0.6);
}
