@font-face {
  font-family: 'Bodoni Moda';
  src: url('/fonts/bodoni-moda-latin-var.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bodoni Moda';
  src: url('/fonts/bodoni-moda-latin-italic-var.woff2') format('woff2');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/fonts/hanken-grotesk-latin-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bodoni Fallback';
  src: local('Georgia'), local('Times New Roman');
  size-adjust: 96%;
  ascent-override: 92%;
}

@font-face {
  font-family: 'Hanken Fallback';
  src: local('Arial'), local('Helvetica');
  size-adjust: 97%;
  ascent-override: 98%;
}

:root {
  /* colour */
  --color-paper: #f5f3ee;
  --color-paper-deep: #ebe7de;
  --color-surface: #fdfcf9;
  --color-ink: #14191d;
  --color-ink-soft: #4a5257;
  --color-ink-faint: #6b7378;
  --color-line: #d8d3c8;
  --color-line-strong: #a9a397;
  --color-petrol: #0f3a46;
  --color-petrol-deep: #09262e;
  --color-petrol-tint: #dde8e5;
  --color-on-petrol: #f2efe7;
  --color-on-petrol-soft: #b9cbc8;
  --color-plum: #74335f;
  --color-plum-deep: #521f42;
  --color-plum-tint: #f1e3ea;
  --color-blush: #e7c9d4;
  --color-pro: #1d5c47;
  --color-con: #8f2d3a;
  --color-focus: #c2477f;
  --color-scrim: rgb(9 38 46 / 55%);

  /* type */
  --font-display: 'Bodoni Moda', 'Bodoni Fallback', georgia, serif;
  --font-text: 'Hanken Grotesk', 'Hanken Fallback', arial, sans-serif;
  --text-xs: 0.78rem;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-md: 1.1875rem;
  --text-lg: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
  --text-xl: clamp(1.6rem, 1.25rem + 1.4vw, 2.2rem);
  --text-2xl: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  --text-3xl: clamp(2.6rem, 1.6rem + 4.2vw, 5rem);
  --leading-tight: 1.08;
  --leading-snug: 1.3;
  --leading-body: 1.68;
  --tracking-caps: 0.14em;

  /* space */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.25rem;
  --space-xl: 3.5rem;
  --space-2xl: 5rem;
  --space-3xl: 7.5rem;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);

  /* layout */
  --width-page: 78rem;
  --width-text: 40rem;
  --width-wide: 56rem;
  --width-rail: 19rem;

  /* shape */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-pill: 999px;
  --border-hair: 1px solid var(--color-line);
  --border-strong: 1px solid var(--color-ink);
  --shadow-lift: 0 18px 40px -24px rgb(9 38 46 / 45%);
  --shadow-panel: 0 -10px 40px -18px rgb(9 38 46 / 40%);

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --duration: 220ms;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration: 0ms;
  }
}
