/* =============================================================
   THE NOITE — design tokens
   HEADINGS: the next line is the one switch. Change "echo" to
   "michroma" to go back. Each set holds the font, weight, colour and
   every heading size. If you switch, also change the font preload in
   the <head> of the four pages (index, shop, work-with-us, 404).
   ============================================================= */
@import url('/css/headings-echo.css');

:root {
  /* type */
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* colour: void + surfaces */
  --void: #09090b;
  --surface-1: #0c0c0e;
  --surface-2: #101013;
  --surface-3: #141417;

  /* colour: text */
  --text: #eeeef0;
  --text-hi: #ffffff;
  --text-2: #b4b4bc;
  --text-3: #8b8b94;
  --line: rgba(238, 238, 240, .08);
  --line-2: rgba(238, 238, 240, .1);

  /* colour: purple, for glow only */
  --wick: #5b2d8e;
  --ultraviolet: #7b3fc2;
  --phantom: #3d1f5c;
  --uv-rgb: 123, 63, 194;
  --wick-rgb: 91, 45, 142;

  /* layout */
  /* --u = one design pixel. Every size on the site is a multiple of it, so the
     layout keeps the proportions of the design at any screen size.
     Desktop: 1px at 1440 wide. It also follows screen height, so ultrawides scale
     to their height instead of blowing up, and short laptops scale down. */
  --u: max(.8px, min(calc(100vw / 1440), calc(100vh / 810)));
  --gutter: calc(64 * var(--u));
  --col-gap: calc(24 * var(--u));
  --radius-card: calc(16 * var(--u));

  /* motion */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-slide: cubic-bezier(.65, 0, .35, 1);

  /* surface texture strength (embossed N·O·I·T·E tile) */
  --texture: url('/assets/img/texture.svg');
}

@media (max-width: 1100px) {
  /* tablet: 1px at 834 wide */
  :root { --u: clamp(.92px, calc(100vw / 834), 1.2px); --gutter: calc(40 * var(--u)); --radius-card: calc(14 * var(--u)); }
}
@media (max-width: 760px) {
  /* phone: 1px at 390 wide */
  :root { --u: clamp(.82px, calc(100vw / 390), 1.3px); --gutter: calc(20 * var(--u)); --col-gap: calc(12 * var(--u)); --radius-card: calc(12 * var(--u)); }
}
