/* ==========================================================================
   SETTINGS: Get Disorderly's colours and fonts, from the brand pack and the
   signed-off homepage mock-up (Organised Fun note 01). Nothing else holds a colour.
   Run `npm run check` after changing: it tests the text colours for contrast.
   ========================================================================== */

/* Fonts, self-hosted (no Google Fonts request, so the privacy notice stays true).
   All three are SIL Open Font License, taken from Fontsource 5.3.0 (Latin subset). */
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Reenie Beanie"; src: url("/fonts/reenie-beanie-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }

:root {
  /* Colours (brand pack) */
  --c-ink: #141414;        /* Ink: all text, the struck-through line, ticks */
  --c-ink-muted: #5C5852;  /* Smoke: labels, notes, secondary text */
  --c-bg: #F5F3EC;         /* Paper: page background */
  --c-panel: #D6D6D6;      /* button grey: Add to package, Send booking request */
  --c-line: #8A857C;       /* Grey Card: card borders, field borders, scale lines */
  --c-accent: #141414;     /* all black brand: links are ink */
  --c-card: #FDFDFB;       /* polaroid frames */

  /* Get Disorderly extras */
  --c-stone: #C4BBAB;      /* Stone: footer rule, rows in the package summary */
  --c-rule: #E4E0D6;       /* hairline between game sections */
  --c-photo-edge: #FBFAF6; /* white edge on the hero photos */
  --c-bar: rgb(214 214 214 / 65%);  /* the sticky package bar (#D6D6D6 at 65%, blurred) */
  --c-on-bar: var(--c-ink);         /* dark text reads best on the bar over Paper */
  --c-on-bar-muted: var(--c-ink-muted);

  /* Fonts */
  --f-display: "Instrument Serif", Georgia, serif;
  --f-display-weight: 400;
  --f-display-spacing: -0.01em;
  --f-body: "IBM Plex Mono", "Courier New", monospace;
  --f-scrawl: "Reenie Beanie", "Bradley Hand", cursive;

  /* Type sizes: phone to desktop */
  --t-display: clamp(40px, 2.2rem + 2.6vw, 68px);
  --t-h1: clamp(36px, 2rem + 1.6vw, 56px);
  --t-h2: clamp(28px, 1.5rem + 1.2vw, 42px);
  --t-h3: 20px;
  --t-body: 15px;
  --t-small: 13px;
  --t-label: 11px;

  /* Shape: square everything */
  --radius: 0px;
  --radius-sm: 0px;
  --radius-btn: 0px;

  /* Layout */
  --gutter: clamp(20px, 5.5vw, 80px);
  --max: 1280px;
  --header-h: 0px;
}
