/* Sheps.Studio colour tokens (dark). Pages use these through var(--…) in their inline styles.
   Loaded in each page's <head> so the colours exist before the DC runtime renders. */
:root {
  color-scheme: dark;

  /* Surfaces */
  --surface: #131313;             /* page */
  --surface-glass: #131313B3;     /* sticky nav, over content */
  --surface-raised: #F7F3F108;    /* cards, asides, contents nav */
  --surface-raised-2: #F7F3F114;  /* a step above raised */
  --surface-inverse: #F7F3F1;     /* light chip on dark */

  /* Text */
  --ink: #F7F3F1;                 /* headings, strong text */
  --ink-60: #F7F3F199;
  --ink-muted: #949191;           /* body copy, 6.1:1 on --surface */
  --ink-highlight: #CAE9DF;       /* sub-headings, link hover */
  --ink-inverse: #131313;         /* text on light or accent fills */

  /* Lines */
  --line: #F7F3F11A;
  --line-strong: #F7F3F133;

  /* Accent: buttons and highlights. Button text stays --ink-inverse. */
  --accent: #D7E902;
  --accent-hover: #DDEC2A;
  --accent-12: #D7E9021F;
  --accent-20: #D7E90233;
  --accent-30: #D7E9024D;

  /* Feedback */
  --danger: #E5837C;              /* form errors, 6.5:1 on --surface */

  /* Type scale. Every page's text sizes come from here. The clamp() steps switch at the
     807px (phone) and 1439px (wide desktop) breakpoints the layout already uses. */
  --font-display-family: 'Space Grotesk', sans-serif;
  --font-body-family: 'Inter', sans-serif;
  --text-display: clamp(clamp(36px, calc((100vw - 807px) * 999), 48px), calc((100vw - 1439px) * 999), 72px); /* home hero h1 */
  --text-title: clamp(clamp(24px, calc((100vw - 807px) * 999), 24px), calc((100vw - 1439px) * 999), 36px);   /* page h1, section h2 */
  --text-heading: 20px;   /* case-study h1 */
  --text-body-lg: 16px;   /* body copy, card and tier titles (h3) */
  --text-body: 14px;      /* section labels, asides, small body, buttons */
  --text-caption: 12px;   /* nav, chips, meta, captions */
}
