/*
  Wildtribe design tokens.
  Source: Webflow variables on Wildtribe Main Website, checked against wildtribe.agency.
  Fluid type interpolates between a 20rem and 90rem viewport, matching the Webflow clamp.
*/

:root {
  --color-orange: #ff4c30;
  --color-dark-orange: #b43724;
  --color-light-orange: #ff9484;
  --color-blue: #0073e6;
  --color-yellow: #f8d47a;
  --color-white: #fff;
  --color-50: #f5f6f3;
  --color-100: #e3e8e3;
  --color-200: #c7cec4;
  --color-300: #99a499;
  --color-400: #66716b;
  --color-500: #3a483f;
  --color-600: #27302b;
  --color-700: #161e19;
  --color-800: #0a1008;
  --color-black: #000;
  /* Webflow names these "{1%}" and "{10%}". The stored alpha is 0.2 for both. */
  --color-neutral-600-fade: rgba(153, 164, 153, 0.2);
  --color-neutral-50-fade: hsla(80, 14.29%, 95.88%, 0.2);

  --font-sans: "Wild Sans", Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;

  --fluid-min: 20;
  --fluid-max: 90;

  --h1-min: 2.8;
  --h1-max: 4;
  --h1-weight: 500;
  --h1-line: 1;
  --h1-tracking: -0.02em;
  --h1-margin: 0.2em;

  --h2-min: 2;
  --h2-max: 2.6;
  --h2-weight: 500;
  --h2-line: 1.1;
  --h2-tracking: -0.02em;
  --h2-margin: 0.2em;

  --h3-min: 1.5;
  --h3-max: 2.3;
  --h3-weight: 500;
  --h3-line: 1.2;
  --h3-tracking: 0em;
  --h3-margin: 0.3em;

  --h4-min: 1.3;
  --h4-max: 1.5;
  --h4-weight: 500;
  --h4-line: 1.4;
  --h4-tracking: 0em;
  --h4-margin: 0.4em;

  --h5-min: 1.1;
  --h5-max: 1.2;
  --h5-weight: 500;
  --h5-line: 1.4;
  --h5-tracking: 0em;
  --h5-margin: 0.5em;

  --h6-min: 0.9;
  --h6-max: 1;
  --h6-weight: 500;
  --h6-line: 1.4;
  --h6-tracking: 0em;
  --h6-margin: 0.6em;

  --text-xl-min: 1.2;
  --text-xl-max: 1.5;
  --text-xl-weight: 400;
  --text-xl-line: 1.4;
  --text-xl-margin: 1em;

  --text-lg-min: 1.1;
  --text-lg-max: 1.25;
  --text-lg-weight: 400;
  --text-lg-line: 1.5;
  --text-lg-margin: 1em;

  --text-body-min: 0.9;
  --text-body-max: 1;
  --text-body-weight: 400;
  --text-body-line: 1.6;
  --text-body-margin: 1em;

  --text-sm-min: 0.8;
  --text-sm-max: 0.9;
  --text-sm-weight: 400;
  --text-sm-line: 1.5;
  --text-sm-margin: 1em;

  --eyebrow-min: 0.7;
  --eyebrow-max: 0.8;
  --eyebrow-weight: 500;
  --eyebrow-line: 1.2;
  --eyebrow-tracking: 0.1em;
  --eyebrow-margin: 1.5em;

  --h1-size: var(--step-h1);
  --h2-size: var(--step-h2);
  --h3-size: var(--step-h3);
  --h4-size: var(--step-h4);
  --h5-size: var(--step-h5);
  --h6-size: var(--step-h6);
  --text-xl-size: var(--step-xl);
  --text-lg-size: var(--step-lg);
  --text-body-size: var(--step-body);
  --text-sm-size: var(--step-sm);
  --eyebrow-size: var(--step-eyebrow);

  --grid-columns: 12;
  --grid-gap: 40px;
  --grid-gap-md: 24px;
  --grid-gap-sm: 8px;
  --grid-gap-button: 16px;

  --space-xs: 0.5em;
  --space-sm: 1em;
  --space-md: 2em;
  --space-lg: 3em;

  --container-max: calc(var(--fluid-max) * 1rem);
  --container-gutter: 6vw;

  --section-padding: var(--step-section);
  --card-radius: 0.5rem;
  --card-padding: var(--step-card);

  --button-weight: 400;
  --button-size: 1rem;
  --button-line: 1.3;
  --button-tracking: 0em;
  --button-radius: 0.5rem;
  --button-pad-y: 0.7em;
  --button-pad-x: 1em;
  --ease-out: cubic-bezier(0.165, 0.84, 0.44, 1);
  --nav-height: 4.75rem;

  color-scheme: light;
  --background: var(--color-white);
  --background: light-dark(var(--color-white), var(--color-700));
  --text: var(--color-500);
  --text: light-dark(var(--color-500), var(--color-white));
  --text-muted: var(--color-400);
  --text-muted: light-dark(var(--color-400), var(--color-300));
  --border: var(--color-neutral-600-fade);
  --border: light-dark(
    var(--color-neutral-600-fade),
    var(--color-neutral-50-fade)
  );
  --accent: var(--color-orange);
  --accent-dark: var(--color-dark-orange);
}

:root[data-scheme="dark"] {
  color-scheme: dark;
}

:root[data-scheme="light"] {
  color-scheme: light;
}

[data-theme="accent"] {
  --background: var(--color-50);
  --background: light-dark(var(--color-50), var(--color-600));
}

[data-theme="brand"] {
  --background: var(--color-orange);
  --text: var(--color-white);
  --text-muted: var(--color-white);
  --accent: var(--color-blue);
  --accent-dark: var(--color-blue);
}

[data-theme="reverse"] {
  --background: var(--color-700);
  --background: light-dark(var(--color-700), var(--color-white));
  --text: var(--color-white);
  --text: light-dark(var(--color-white), var(--color-400));
  --text-muted: var(--color-white);
  --text-muted: light-dark(var(--color-white), var(--color-400));
  --border: var(--color-neutral-50-fade);
  --border: light-dark(
    var(--color-neutral-50-fade),
    var(--color-neutral-600-fade)
  );
}
