/* Colours: soft blue and black. The black is the face of DJ gear, the blue sits cool against the warm stage light in his photos.
   Colours live only in this file. */
:root {
  --bg: #0F1012;           /* page background */
  --bg-2: #17181B;         /* raised panels */
  --bg-3: #212226;         /* higher panels, inputs */
  --text: #EEEEF0;
  --muted: #9C9FA6;
  --cue: #87A4E8;          /* the one accent: buttons, active states, focus */
  --cue-2: #A1B8ED;        /* hover on the accent */
  --on-cue: #0A0F1C;       /* text on the accent */
  --on-photo: #FFFFFF;     /* type over photos */
  --groove-1: #232428;     /* record grooves */
  --groove-2: #34353A;
  --shadow: #000000;
  --line: color-mix(in srgb, var(--text) 12%, transparent);
  --line-2: color-mix(in srgb, var(--text) 22%, transparent);

  --ff: "Bricolage Grotesque", "Bricolage Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Type scale: the only sizes in use. One family; headings run condensed (--head-stretch), body at full width */
  --fs-display: clamp(3rem, 11vw, 10rem);            /* hero-size titles, contact heading */
  --fs-stat: clamp(3rem, min(8vw, 12vh), 6.5rem);    /* stat numbers: held by width and height, so short screens stay compact */
  --fs-h2: clamp(2.2rem, 6vw, 5.5rem);               /* section headings */
  --fs-title: clamp(1.75rem, 1rem + 3vw, 3.5rem);    /* feature titles, the bio name, country names */
  --fs-h3: clamp(1.25rem, 2vw, 1.6rem);              /* card and item titles */
  --fs-lead: clamp(1.0625rem, .9rem + .6vw, 1.375rem); /* lead paragraphs, stat labels */
  --fs-body: 1.0625rem;
  --fs-small: .875rem;
  --fs-label: .75rem;
  --lh-head: .92;
  --lh-snug: 1.2;
  --lh-body: 1.6;
  --head-stretch: 75%;
  --track: .08em;                                    /* uppercase labels, nav and buttons */

  /* Spacing scale */
  --s-1: .5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2.5rem;
  --s-5: 4rem;
  --home-gap: clamp(5rem, 10vw, 8rem);               /* Home: the one space between every section, and before the footer */

  /* Shapes */
  --r-sm: 8px;
  --r-lg: 16px;
  /* Buttons: one square system, two levels (see base.css) */
  --btn-h: 48px;
  --btn-px: 1.5rem;
  --btn-bw: 1px;
  --btn-fade: .2s ease;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(5rem, 11vw, 10rem);
  --max: 1440px;
  --pad: max(var(--gutter), (100% - var(--max)) / 2);
  --header: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Admin: the site's own colours, plus the few a form needs */
.admin {
  --field: #0B0C0E;        /* inputs, sunk below the panels */
  --ok: #8FD3A8;           /* link checks that pass */
  --bad: #F2907F;          /* errors */
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/brand/bricolage.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
/* local fallback sized to the webfont so the swap does not move the layout */
@font-face {
  font-family: "Bricolage Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica Neue");
  size-adjust: 98.4%;
  ascent-override: 94.5%;
  descent-override: 27.4%;
  line-gap-override: 0%;
}
