/* Changed for Gould: regenerated with Utopia to fit v23 (spec decisions 8, 19,
   42 items 1-2). The first :root block is Utopia's output, pasted unchanged
   except Utopia's m/l renamed md/lg (whole name parts only).
   @link https://utopia.fyi/space/calculator/?c=375,16,1.25,1440,17,1.333,5,2,&s=0.75|0.5|0.25|0.125,1.5|2|2.75|3.5|5|7|10,s-2xl|s-3xl|m-xl|m-3xl|l-2xl|l-3xl|l-4xl|l-5xl|m-4xl|m-5xl|3xl-5xl&g=s,l,xl,12 */
:root {
  --space-4xs: clamp(0.125rem, 0.125rem + 0vw, 0.125rem);
  --space-3xs: clamp(0.25rem, 0.25rem + 0vw, 0.25rem);
  --space-2xs: clamp(0.5rem, 0.478rem + 0.0939vw, 0.5625rem);
  --space-xs: clamp(0.75rem, 0.728rem + 0.0939vw, 0.8125rem);
  --space-s: clamp(1rem, 0.978rem + 0.0939vw, 1.0625rem);
  --space-md: clamp(1.5rem, 1.456rem + 0.1878vw, 1.625rem);
  --space-lg: clamp(2rem, 1.956rem + 0.1878vw, 2.125rem);
  --space-xl: clamp(2.75rem, 2.684rem + 0.2817vw, 2.9375rem);
  --space-2xl: clamp(3.5rem, 3.412rem + 0.3756vw, 3.75rem);
  --space-3xl: clamp(5rem, 4.89rem + 0.4695vw, 5.3125rem);
  --space-4xl: clamp(7rem, 6.846rem + 0.6573vw, 7.4375rem);
  --space-5xl: clamp(10rem, 9.7799rem + 0.939vw, 10.625rem);

  /* One-up pairs */
  --space-4xs-3xs: clamp(0.125rem, 0.081rem + 0.1878vw, 0.25rem);
  --space-3xs-2xs: clamp(0.25rem, 0.14rem + 0.4695vw, 0.5625rem);
  --space-2xs-xs: clamp(0.5rem, 0.39rem + 0.4695vw, 0.8125rem);
  --space-xs-s: clamp(0.75rem, 0.64rem + 0.4695vw, 1.0625rem);
  --space-s-md: clamp(1rem, 0.7799rem + 0.939vw, 1.625rem);
  --space-md-lg: clamp(1.5rem, 1.2799rem + 0.939vw, 2.125rem);
  --space-lg-xl: clamp(2rem, 1.6699rem + 1.4085vw, 2.9375rem);
  --space-xl-2xl: clamp(2.75rem, 2.3979rem + 1.5023vw, 3.75rem);
  --space-2xl-3xl: clamp(3.5rem, 2.8618rem + 2.723vw, 5.3125rem);
  --space-3xl-4xl: clamp(5rem, 4.1417rem + 3.662vw, 7.4375rem);
  --space-4xl-5xl: clamp(7rem, 5.7236rem + 5.446vw, 10.625rem);

  /* Custom pairs */
  --space-s-2xl: clamp(1rem, 0.0317rem + 4.1315vw, 3.75rem);
  --space-s-3xl: clamp(1rem, -0.5185rem + 6.4789vw, 5.3125rem);
  --space-md-xl: clamp(1.5rem, 0.9938rem + 2.1596vw, 2.9375rem);
  --space-md-3xl: clamp(1.5rem, 0.1576rem + 5.7277vw, 5.3125rem);
  --space-lg-2xl: clamp(2rem, 1.3838rem + 2.6291vw, 3.75rem);
  --space-lg-3xl: clamp(2rem, 0.8336rem + 4.9765vw, 5.3125rem);
  --space-lg-4xl: clamp(2rem, 0.0854rem + 8.169vw, 7.4375rem);
  --space-lg-5xl: clamp(2rem, -1.037rem + 12.9577vw, 10.625rem);
  --space-md-4xl: clamp(1.5rem, -0.5907rem + 8.9202vw, 7.4375rem);
  --space-md-5xl: clamp(1.5rem, -1.713rem + 13.7089vw, 10.625rem);
  --space-3xl-5xl: clamp(5rem, 3.0194rem + 8.4507vw, 10.625rem);
}

/* Hand-kept aliases: the framework's names, pointed at the new steps
   (decision 42 item 1), plus --header-height (decisions 12, 61 item 10). */
:root {
  --space-sm: var(--space-s);
  --space-xxl: var(--space-2xl);
  --space-s-m: var(--space-s-md);
  --space-xs-4xl: var(--space-lg-4xl);

  --component-padding: var(--space-md);
  --gutter: var(--space-s-md);
  --inline-page-padding: var(--space-xs-4xl);
  --block-page-padding: var(--space-lg-4xl);

  /* Logo + top and bottom padding: ~76px at 375, ~94px at 1440 (decision 12). */
  --header-height: calc(var(--space-xl-2xl) + 2 * var(--space-s));
}
