/* Design tokens — the only source of colors, type, spacing, radius, shadows. See DESIGN.md. */
/* Fonts copied from Lovely Seating (11-18): Playfair Display = display, Geist = UI, Cormorant Garamond = print/export serif. Self-hosted, OFL. */
@font-face { font-family: "Geist"; src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/fonts/playfair-display-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/fonts/playfair-display-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* color — copied 1:1 from Lovely Seating's CSS variables (lovelyseating.com, 11-18). Their name in brackets. Do not invent colors. */
  --canvas: #fbf6f2;        /* ivory (--color-background) */
  --parchment: #f6efe8;     /* cream (bg-cream: panels, editor floor) */
  --surface: #ffffff;       /* surface */
  --hairline: #efe6dc;      /* sand (border-sand) */
  --hairline-strong: #e6d9cc; /* beige */
  --ink: #3a3336;           /* ink */
  --ink-2: #6f6669;         /* ink-soft */
  --ink-3: #736a6d;         /* ink-faint */
  --primary: #c64a66;       /* blush-500 (primary buttons) */
  --primary-press: #b03f5a; /* blush-600 */
  --on-primary: #ffffff;
  --select: #c64a66;        /* blush-500: selected row bar, drop target outline */
  --select-tint: #fdf3f6;   /* blush-50 */
  --select-soft: #fbe7ec;   /* blush-100 */
  --ok: #3b7950;            /* success */
  --ok-soft: #e7f4ec;       /* success-soft */
  --warn: #8f6420;          /* warning */
  --warn-soft: #fbf0dd;     /* warning-soft */
  --error: #b83a52;         /* danger */
  --error-soft: #fbe9ec;    /* danger-soft */
  /* group colors: also from their palette (info, sage, gold, plum, blush-400, sky-600, amber-600, stone-500); dots and seat rings only */
  --g1: #406b97; --g2: #5f7d5e; --g3: #b88a3e; --g4: #7a5a8c;
  --g5: #ea8299; --g6: #0084cc; --g7: #dd7400; --g8: #79716b;

  /* type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-print-serif: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-display: 600 44px/1.05 var(--font-display);
  --t-h1: 600 32px/1.1 var(--font-display);
  --t-h2: 600 21px/1.2 var(--font-ui);
  --t-body: 400 17px/1.47 var(--font-ui);
  --t-ui: 450 15px/1.35 var(--font-ui);
  --t-small: 450 13px/1.35 var(--font-ui);
  --t-micro: 600 11px/1.2 var(--font-ui);
  --micro-tracking: .08em;

  /* space */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 80px;
  --w-text: 640px; --w-page: 1120px;
  --panel-left: 300px; --panel-right: 280px;

  /* radius */
  --r-sm: 6px; --r-md: 10px; --r-lg: 18px; --r-full: 9999px;

  /* depth: no shadows on chrome */
  --shadow-float: 0 8px 28px rgba(29, 29, 31, .14), 0 1px 3px rgba(29, 29, 31, .08);
  --shadow-print: 0 18px 40px -12px rgba(29, 29, 31, .28);
  --scrim: rgba(29, 29, 31, .4);
}

@media (min-width: 900px) {
  :root {
    --t-display: 600 64px/1.05 var(--font-display);
    --t-h1: 600 44px/1.1 var(--font-display);
    --t-h2: 600 24px/1.2 var(--font-ui);
  }
}

*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: var(--t-body); -webkit-font-smoothing: antialiased; }
