/* ============================================================================
   Studio Salt design tokens. Every colour, type size, font, weight and motion
   value the site uses lives here. Change a value once and every page follows.
   Run `npm run system` for a report of where each token is used.
   ========================================================================== */

:root{
  /* Colour roles, light theme */
  --color-ink: #1a1a1a;
  --color-body: #666666;
  --color-muted: #999999;
  --color-page: #ffffff;
  --color-surface: #fafafa;
  --color-line: #e5e5e5;
  --color-inverse: #1a1a1a;
  --color-on-inverse: #ffffff;

  /* Colour roles, dark theme */
  --color-dark-ink: #f5f5f5;
  --color-dark-body: #aaaaaa;
  --color-dark-muted: #777777;
  --color-dark-page: #101010;
  --color-dark-surface: #1a1a1a;
  --color-dark-line: rgba(255,255,255,.15);
  --color-dark-inverse: #f5f5f5;
  --color-dark-on-inverse: #101010;

  /* Type scale */
  --text-label: 10px;
  --text-small: 12px;
  --text-body: 14px;
  --text-large: 16px;
  --text-heading: 20px;
  --text-title: clamp(40px, 4.2vw, 48px);
  --text-display: clamp(36px, 5vw, 72px);

  /* Other colours: brand accents, see-through overlays and shadows */
  --white: #fff;
  --gray-98: #fafafa;
  --gray-95: #f4f4f2;
  --white-a95: rgba(255,255,255,.95);
  --white-a92: rgba(255,255,255,.92);
  --white-a90: rgba(255,255,255,0.9);
  --white-a85: rgba(255,255,255,.85);
  --white-a80: rgba(255,255,255,.8);
  --white-a72: rgba(255,255,255,.72);
  --white-a70: rgba(255,255,255,.7);
  --white-a65: rgba(255,255,255,.65);
  --white-a60: rgba(255,255,255,.6);
  --white-a50: rgba(255,255,255,0.5);
  --white-a48: rgba(255,255,255,.48);
  --white-a40: rgba(255,255,255,0.4);
  --white-a35: rgba(255,255,255,.35);
  --white-a18: rgba(255,255,255,.18);
  --white-a15x: rgba(255,255,255,0.15);
  --white-a15: #ffffff26;
  --white-a12: rgba(255,255,255,.12);
  --white-a00001: hsla(0,0%,100%,.001);
  --warm-gray-20-a19: #39352d30;
  --warm-gray-20-a09: #39352d18;
  --gray-10-a95: rgba(25,25,25,.95);
  --gray-9-a65: rgba(24,24,24,.65);
  --gray-9-a48: rgba(24,24,24,.48);
  --warm-gray-9-a72: #171914b8;
  --gray-8-a85: rgba(20,20,20,.85);
  --gray-6-a86: rgba(16,16,16,.86);
  --gray-6-a62: rgba(16,16,16,.62);
  --black-a53: #0008;
  --black-a45: rgba(0,0,0,.45);
  --black-a20: rgba(0,0,0,0.2);
  --black-a18: rgba(0,0,0,.18);
  --black-a12: rgba(0,0,0,.12);
  --black-a10: rgba(0,0,0,0.1);
  --black-a08: rgba(0,0,0,.08);
  --black-a05: #0000000d;
  --black-a03: #00000008;
  --black-a03x: rgba(0,0,0,0.03);
  --black-a00001: hsla(0,0%,0%,.001);
  --orange-86: #e5ded0;
  --orange-78: #d4cbbb;
  --orange-72: #c8bca7;
  --orange-39: #706657;
  --green-49: #34c759;
  --blue-60: #3a6ff8;
  --orange-86-a88: rgba(229,222,208,.88);

  /* Type sizes kept outside the scale: hero headline, logo, quotation marks, mobile menu */
  --text-27: 27px;
  --text-30: 30px;
  --text-32: 32px;
  --text-38: 38px;
  --text-48: 48px;
  --text-96: 96px;
  --text-100: 100px;
  --text-120: 120px;
  --text-9_9vw: 9.9vw;
  --text-11vw: 11vw;
  --text-fluid-28-42: clamp(28px,6vw,42px);
  --text-fluid-50-148: clamp(50px,min(9.72vw,14.4svh),148px);
  --text-fluid-56-164: clamp(56px,min(10.8vw,16svh),164px);
  --text-fluid-56-164-2: clamp(56px,10.8vw,164px);

  /* Font families */
  --font-arial: Arial,Helvetica,sans-serif;
  --font-geist-mono: "Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --font-inter: Inter,Arial,Helvetica,sans-serif;
  --font-inter-2: Inter,Arial,sans-serif;
  --font-inter-3: Inter,system-ui,sans-serif;
  --font-mono: monospace;
  --font-mono-ui: ui-monospace,monospace;
  --font-serif: Georgia,serif;
  --font-serif-2: Georgia,'Times New Roman',serif;
  --font-urbanist: 'Urbanist',ui-monospace,monospace;

  /* Font weights */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* Motion: durations in milliseconds */
  --duration-0: 0s;
  --duration-70: .07s;
  --duration-150: .15s;
  --duration-200: .2s;
  --duration-250: .25s;
  --duration-300: .3s;
  --duration-320: .32s;
  --duration-350: .35s;
  --duration-400: .4s;
  --duration-420: .42s;
  --duration-450: .45s;
  --duration-500: .5s;
  --duration-600: .6s;
  --duration-650: 650ms;
  --duration-700: .7s;
  --duration-750: 750ms;
  --duration-800: .8s;
  --duration-850: .85s;
  --duration-900: .9s;
  --duration-1000: 1s;
  --duration-1150: 1.15s;
  --duration-1200: 1.2s;
  --duration-1350: 1.35s;
  --duration-1400: 1.4s;
  --duration-1450: 1.45s;
  --duration-1500: 1.5s;
  --duration-1600: 1.6s;
  --duration-4000: 4s;
  --duration-5020: 5.02s;
  --duration-5400: 5.4s;
  --duration-6000: 6s;
  --duration-85000: 85s;
  --duration-100000: 100s;

  /* Motion: easing curves */
  --ease-default: ease;
  --ease-expo: cubic-bezier(.16,1,.3,1);
  --ease-linear: linear;
  --ease-reveal: cubic-bezier(.3,.06,.13,1);
  --ease-smooth: cubic-bezier(.22,1,.36,1);
  --ease-soft: cubic-bezier(.2,.7,.2,1);

  /* Motion: choreography, read by the scripts (milliseconds) */
  --hero-letter-start: 350ms;
  --hero-letter-step: 30ms;
  --reveal-text-step: 70ms;
  --reveal-media-step: 80ms;
  --reveal-max-steps: 6;
}
