/* Lazy Bear — design tokens.
   Palette: the menu's "let's go summer" colours + the logo's brown + the velvet banquette.
   Type: Cabinet Grotesk (display) + Switzer (text), both from Fontshare (ITF Free Font License), self-hosted. */
@layer tokens, base, components, utilities;

@font-face { font-family: 'Cabinet Grotesk'; src: url('/assets/fonts/cabinet-grotesk-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cabinet Grotesk'; src: url('/assets/fonts/cabinet-grotesk-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Cabinet Grotesk'; src: url('/assets/fonts/cabinet-grotesk-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/assets/fonts/switzer-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/assets/fonts/switzer-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/assets/fonts/switzer-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

@layer tokens {
  :root {
    /* colour */
    --sun: #EFA917;      /* honey, the counter and the menu */
    --butter: #ECC561;   /* mustard */
    --cream: #F8EEBB;
    --paper: #FFF9E8;    /* page */
    --mint: #8DC3B6;
    --teal: #57A693;
    --velvet: #174640;   /* the banquette, deep */
    --brown: #93531D;    /* logo */
    --ink: #22160B;      /* text, night */
    --ink-soft: #4A3A2A;
    --line: rgba(34, 22, 11, .14);

    /* type */
    --display: 'Cabinet Grotesk', 'Arial Black', system-ui, sans-serif;
    --text: 'Switzer', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --fs-hero: clamp(2.5rem, min(1rem + 4.2vw, 8.5svh), 5.25rem);
    --fs-h2: clamp(2.05rem, 1.1rem + 2.9vw, 4rem);
    --fs-h3: clamp(1.35rem, 1.05rem + .8vw, 1.85rem);
    --fs-lead: clamp(1.0625rem, 1rem + .25vw, 1.25rem);
    --fs-body: 1rem;
    --fs-small: .875rem;

    /* space and shape */
    --gutter: clamp(16px, 4vw, 48px);
    --frame-gap: clamp(8px, 1vw, 12px);
    --radius: clamp(20px, 2.2vw, 32px);
    --radius-s: 16px;
    --max: 1360px;
    --section: clamp(88px, 11vw, 168px);

    /* logo sizes (logo.webp is 729 x 900) */
    --logo-h: clamp(84px, 7.2vw, 124px);

    /* motion */
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);
    --spring: cubic-bezier(.34, 1.56, .64, 1);
  }
}
