/* Design tokens of the new design, taken from the Figma file PORTFOLIO
   (page "Design system", variable collections Portfolio, Tag colors and Type scale).
   Change a value here and it changes everywhere on the site. */

/* ---------- Fonts ---------- */

/* Futura Passata (titles): self-hosted, like on the current site. */
@font-face {
  font-family: "Futura Passata";
  src: url("../fonts/futura-passata-bold.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Manrope (text): variable font, all weights in one file. */
@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope.woff") format("woff");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---------- Colours ---------- */
  --black: #15130e;
  --white: #ffffff;
  --beige: #fbf6ea;
  --phone-orange: #ff8660;
  --available: #4caf50;

  --neutral-100: #f6eeda;
  --neutral-200: #eae0c8;
  --neutral-300: #d2c7ac;
  --neutral-400: #ada185;
  --neutral-500: #837963;
  --neutral-600: #69614f;
  --neutral-700: #494337;
  --neutral-800: #2f2b23;

  /* Tag colours */
  --tag-salmon: #ff9f88;
  --tag-aqua: #a8f1f1;
  --tag-leaf: #7aa63a;
  --tag-olive: #a3a637;
  --tag-pink: #ff6f8e;
  --tag-orange: #ff7f0e;
  --tag-emerald: #14a67c;
  --tag-periwinkle: #8fa8f5;
  --tag-blue: #3d96f5;
  --tag-lilac: #f4c9f7;
  --tag-orchid: #e87cc4;
  --tag-peach: #ffae6b;
  --tag-lime: #bfd91a;
  --tag-yellow: #ffd24f;
  --tag-white: #ffffff;

  /* Roles (what the colours are used for) */
  --bg-dark: var(--black);
  --bg-beige: var(--beige);
  --bg-surface: var(--white);
  --text: var(--black);
  --text-muted: var(--text); /* was neutral-600; all copy is dark now (Pauline, 30 Nov 2026) */
  --text-on-dark: var(--beige);
  --text-white: var(--white);
  --border-strong: var(--black);
  --border-on-dark: var(--white);
  --border-soft: var(--neutral-200);

  /* ---------- Spacing and corners ---------- */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 80px;
  --radius-card-sm: 16px;
  --radius-card: 20px;
  --radius-pill: 30px;

  /* ---------- Font families ---------- */
  --font-title: "Futura Passata", "Futura", "Century Gothic", sans-serif;
  --font-text: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-tag: "DM Sans", Manrope, system-ui, sans-serif;

  /* ---------- Type scale: desktop (1100 px and wider) ---------- */
  --fs-display-xl: 200px;
  --fs-display-lg: 150px;
  --fs-display-md: 142px;
  --fs-heading-xl: 80px;
  --fs-heading-h1: 64px;
  --fs-heading-page: 54px;
  --fs-heading-h2: 44px;
  --fs-heading-h3: 32px;
  --fs-heading-h4: 30px;
  --fs-title-mini: 22px;
  --fs-body-md: 16px;
  --fs-body-sm: 16px;
  --fs-label-button: 22px;
  --fs-label-eyebrow: 22px;
  --fs-label-md: 16px;
  --fs-label-strong: 16px;
  --fs-label-sm: 15px;
  --fs-label-overline: 16px;
  --fs-label-cursor: 16px;
  --fs-card-name: 15px;
  --fs-card-role: 13px;
  --fs-card-year: 14px;
  --fs-tag-label: 12px;

  /* ---------- Motion ---------- */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-out-back: cubic-bezier(.34, 1.56, .64, 1);
}

/* Tablet: 700–1099 px */
@media (max-width: 1099px) {
  :root {
    --fs-display-xl: 189px;
    --fs-display-lg: 88px;
    --fs-display-md: 112px;
    --fs-heading-xl: 64px;
    --fs-heading-h1: 56px;
    --fs-heading-h2: 40px;
    --fs-label-overline: 14px;
  }
}

/* Mobile: below 700 px */
@media (max-width: 699px) {
  :root {
    --fs-display-xl: 89px;
    --fs-display-lg: 40px;
    --fs-display-md: 64px;
    --fs-heading-xl: 40px;
    --fs-heading-h1: 40px;
    --fs-heading-page: 40px;
    --fs-heading-h2: 32px;
    --fs-heading-h3: 28px;
    --fs-body-sm: 14px;
    --fs-label-button: 16px;
    --fs-label-eyebrow: 13px;
    --fs-label-overline: 12px;
  }
}

/* ---------- Text styles (same names as in Figma) ---------- */

.t-display-xl, .t-display-lg, .t-display-md, .t-heading-xl, .t-heading-h1,
.t-heading-page, .t-heading-h2, .t-heading-h3, .t-heading-h4 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0;
  /* No text-transform: Futura Passata draws its own capitals, and Figma keeps
     mixed case on purpose (e.g. "PAuLiNe"). */
}
.t-display-xl   { font-size: var(--fs-display-xl); line-height: .85; }
.t-display-lg   { font-size: var(--fs-display-lg); line-height: 1; }
.t-display-md   { font-size: var(--fs-display-md); line-height: .92; }
.t-heading-xl   { font-size: var(--fs-heading-xl); line-height: 1; }
.t-heading-h1   { font-size: var(--fs-heading-h1); line-height: 1; }
.t-heading-page { font-size: var(--fs-heading-page); line-height: 56px; }
.t-heading-h2   { font-size: var(--fs-heading-h2); line-height: 1; }
.t-heading-h3   { font-size: var(--fs-heading-h3); line-height: 1; }
.t-heading-h4   { font-size: var(--fs-heading-h4); line-height: 1; }

.t-title-mini     { font: 700 var(--fs-title-mini)/1 var(--font-text); }
.t-body-md        { font: 400 var(--fs-body-md)/24px var(--font-text); }
.t-body-sm        { font: 400 var(--fs-body-sm)/24px var(--font-text); }
.t-label-button   { font: 500 var(--fs-label-button)/1 var(--font-text); }
.t-label-eyebrow  { font: 500 var(--fs-label-eyebrow)/1 var(--font-text); }
.t-label-md       { font: 500 var(--fs-label-md)/1 var(--font-text); }
.t-label-strong   { font: 700 var(--fs-label-strong)/1 var(--font-text); }
.t-label-sm       { font: 500 var(--fs-label-sm)/21px var(--font-text); }
.t-label-overline { font: 600 var(--fs-label-overline)/1 var(--font-text); }
.t-label-overline-wide { font: 600 var(--fs-label-overline)/1 var(--font-text); letter-spacing: .12em; }
.t-label-cursor   { font: 600 var(--fs-label-cursor)/1 var(--font-text); letter-spacing: .12em; }
.t-card-name      { font: 700 var(--fs-card-name)/1 var(--font-text); }
.t-card-role      { font: 500 var(--fs-card-role)/1 var(--font-text); }
.t-card-year      { font: 600 var(--fs-card-year)/1 var(--font-text); letter-spacing: .12em; }
.t-tag-label      { font: 600 var(--fs-tag-label)/16px var(--font-tag); letter-spacing: .5px; text-transform: uppercase; }
