/* ─── Local fonts ─── */

@font-face {
  font-family: 'Clarendon Wide';
  src: url('/fonts/clarendon-wide-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Antica';
  src: url('/fonts/antica-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand colors */
  --color-cream: #F5F0E8;
  --color-ink: #1A1A1A;
  --color-ink-light: #3D3228;
  --color-border: #D4C9B5;

  /* Active flavor color — updated by JS on every slider change.
     Default matches Root Beer (index 2), the initial active slide. */
  --flavor-color: #A0383C;

  /* Typography */
  --font-display: 'Clarendon Wide', Georgia, serif;
  --font-display-alt: 'Antica', 'Arial Narrow', sans-serif;
  --font-body: 'PT Serif', Georgia, serif;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 200ms;
  --dur-med: 400ms;
  --dur-slow: 700ms;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-xxl: 120px;

  /* Button heights */
  --btn-h-sm: 38px;
  --btn-h-md: 52px;
  --btn-h-lg: 60px;
}
