/* Shared design tokens: every colour, size and font the site uses.
   Change the look here, never by hard-coding a colour in a page's own CSS.
   Text colours are checked against their backgrounds for WCAG AA (4.5:1) by
   tests/tokens-contrast.test.js -- add a pair there when you add a colour.

   The look: warm cream, deep bronze and soft gold, with an elegant serif for
   headings (Cormorant Garamond) and a clean sans for reading (Jost). Both
   fonts are served from public/fonts (public/css/fonts.css), never Google,
   so no visitor details go to anyone else. The admin doesn't load them and
   falls back to the system fonts after each name. */
:root {
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  --colour-bg: #faf6ef;           /* warm cream page */
  --colour-surface: #ffffff;
  --colour-text: #2b2118;         /* 14.6:1 on bg */
  --colour-muted: #655546;        /* 6.6:1 on bg, 5.9:1 on brand-soft */
  --colour-border: #e4d8c6;

  --colour-brand: #7a5212;        /* deep bronze: buttons, links. 6.9:1 with white text */
  --colour-brand-dark: #58390a;
  --colour-brand-soft: #f3e9d7;

  /* The dark sections (home page top, last call to book, footer). */
  --colour-ink: #1c1611;
  --colour-on-ink: #f5ede0;       /* 15.4:1 on ink */
  --colour-gold-on-ink: #d9b46a;  /* 9.1:1 on ink; ink text on it is 9.1:1 too */
  --colour-muted-on-ink: #c2b29c; /* 8.7:1 on ink */
  --colour-gold: #b8913a;         /* lines and ornaments only, never text (2.7:1) */
  --colour-line-on-ink: rgba(217, 180, 106, 0.25);
  --colour-header-bg: rgba(250, 246, 239, 0.94); /* bg, a touch see-through */
  --colour-hero-shade: linear-gradient(100deg, rgba(20, 15, 11, 0.86) 0%, rgba(20, 15, 11, 0.62) 55%, rgba(20, 15, 11, 0.35) 100%);
  /* Coming-soon page: words are centred, so the photo is darkened evenly, most in the middle. */
  --colour-soon-shade: radial-gradient(ellipse at center, rgba(20, 15, 11, 0.88) 0%, rgba(20, 15, 11, 0.8) 55%, rgba(20, 15, 11, 0.7) 100%);

  --colour-success-bg: #e6f4ea;
  --colour-success-text: #1e5b30;
  --colour-error-bg: #fbe9e7;
  --colour-error-text: #8a1f11;
  --colour-warn-bg: #fff4d6;
  --colour-warn-text: #6b4a00;

  --colour-focus: #1a5fb4;        /* focus ring on light backgrounds */
  --colour-focus-on-ink: #9cc8ff; /* focus ring on the dark sections */

  --radius: 8px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 5rem;
  --width-page: 72rem;
  --width-text: 40rem;
  --tap-size: 44px;               /* smallest button height, for fingers */
}
