/* The Marq design tokens - source of truth for the static build. */
@font-face {
  font-family: "Marq Alethia";
  src: url("../assets/fonts/alethiapro-regular-marq.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Marq Borgia";
  src: url("../assets/fonts/borgiapro-italic-the.otf") format("opentype");
  font-display: swap;
  font-style: italic;
  font-weight: 400;
}

:root {
  color-scheme: light;

  --color-marq: #4e0909;
  --color-brand: var(--color-marq);
  --color-brand-deep: var(--color-marq);
  --color-brand-soft: #6a2927;
  --color-ink: #251f1d;
  --color-graphite: #322d2a;
  --color-charcoal: #171514;
  --color-ivory: #f4f0e8;
  --color-paper: #fbf8f2;
  --color-white: #ffffff;
  --color-stone: #d9d1c5;
  --color-stone-soft: #e8e2d9;
  --color-taupe: #9d8f84;
  --color-muted: #6d625c;
  --color-champagne: #d8c5a4;
  --color-error: #9e2b25;
  --color-success: #315e47;
  --color-overlay: rgb(17 13 12 / 52%);
  --color-overlay-soft: rgb(17 13 12 / 28%);

  --font-logo-the: "Marq Borgia", "Baskerville", "Iowan Old Style", Georgia, serif;
  --font-logo-marq: "Marq Alethia", "Bodoni 72", Didot, "Bodoni MT", "Times New Roman", serif;
  --font-logo-atlantis: Arial, "Helvetica Neue", sans-serif;
  --font-body: var(--font-logo-atlantis);
  --font-display: var(--font-logo-marq);

  --text-display-xl: clamp(4rem, 10.5vw, 10.5rem);
  --text-display-lg: clamp(3.2rem, 7.5vw, 7.5rem);
  --text-display-md: clamp(2.55rem, 5.4vw, 5.5rem);
  --text-h1: clamp(2.15rem, 3.8vw, 4rem);
  --text-h2: clamp(1.7rem, 2.5vw, 2.75rem);
  --text-h3: clamp(1.25rem, 1.5vw, 1.625rem);
  --text-lead: clamp(1.125rem, 1.5vw, 1.45rem);
  --text-body: clamp(1rem, 0.25vw + 0.94rem, 1.125rem);
  --text-small: 0.875rem;
  --text-micro: 0.75rem;

  --leading-solid: 0.86;
  --leading-display: 0.95;
  --leading-heading: 1.08;
  --leading-body: 1.65;

  --tracking-tight: -0.035em;
  --tracking-heading: -0.02em;
  --tracking-label: 0.16em;
  --tracking-wide: 0.24em;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: clamp(2.5rem, 4vw, 4rem);
  --space-8: clamp(3.5rem, 6vw, 6rem);
  --space-9: clamp(5rem, 8vw, 8rem);
  --space-10: clamp(7rem, 11vw, 11rem);
  --space-11: clamp(10rem, 16vw, 16rem);
  --section-space: var(--space-11);
  --cluster-space: var(--space-4);
  --stagger-index: 0;

  --container: 90rem;
  --container-narrow: 48rem;
  --gutter: clamp(1.25rem, 4vw, 5rem);
  --grid-gap: clamp(1rem, 2vw, 2.25rem);
  --header-height: clamp(4.5rem, 7vw, 6.25rem);

  --radius-subtle: 0.25rem;
  --border-fine: 1px solid rgb(37 31 29 / 18%);
  --border-on-dark: 1px solid rgb(244 240 232 / 28%);
  --shadow-modal: 0 2rem 7rem rgb(18 11 10 / 28%);

  --duration-fast: 180ms;
  --duration-base: 420ms;
  --duration-slow: 800ms;
  --duration-cinematic: 1200ms;
  --ease-standard: cubic-bezier(.22, 1, .36, 1);
  --ease-emphasized: cubic-bezier(.16, 1, .3, 1);
  --ease-exit: cubic-bezier(.4, 0, 1, 1);

  --z-base: 0;
  --z-sticky: 20;
  --z-header: 40;
  --z-cursor: 70;
  --z-modal: 80;
  --z-toast: 90;
}
